Closed anakrish closed 2 months ago
import future.keywords p if { 1 | [1,2][_] }
the rule body is parsed as a set resulting in
| 5 | p if { 1 | [1,2][_] } | ^ error: `union` expects set argument. Got `1` instead
It must be parsed as a comprehension instead.
the rule body is parsed as a set resulting in
It must be parsed as a comprehension instead.