Enum parameters in closures not compiling

so in swift I can write a closure
{
blah in …
}

where blah is an enum. In our case, enum: Int32 to be safe…
works fine in swift.
when I compile it in Fire, it thinks blah is an Int32…

but then if I have

if blah == enum.somecase

that gets a compiler error in Fire …

any suggestions?

that’s rather thin for a testcase. can you give me a more concrete (non-)compiling example?

how did I know you were going to say that…
let me see how I go…

1 Like