reticulated
reticulated copied to clipboard
Splicing a list is not working when it's a field of a class.
When creating a class, initially setting one if it's fields to None/Empty list then mutating the value of that field to a list and try to splice it, I get the following error:
Right hand side of assignment was expected to be of type Dyn, but value slice(None, 3, None) provided instead. (code SINGLE_ASSIGN_ERROR)
where 3 is the index where it was spliced.
Attached is a file with an example: dealer.python.zip
I can reproduce this error when running under guarded, but not transient. If you're encountering it with transient, please let me know so we can figure out why your system is acting different. Otherwise, thanks for the report.