Function "add_descendent_states_to_enter" uses variable name which is not in scope
dimsuz opened this issue · 1 comments
dimsuz commented
When dealing with parallel state this bit of code passes variable s
to add_descendent_states_to_enter
(line 114), but it's not in scope here:
Variable s
is used in a list comprehension only. Unless I don't know something about python listcomp scoping.
Perhaps child
should be passed here.
Not sure why it's not an error. Also I'm not sure how people manage to get anything sufficiently complex done in a language without proper type checking :)
davidkpiano commented
Fixed in #20