well, in this case i'm surprised this doesn't work...
# random
d
well, in this case i'm surprised this doesn't work:
Copy code
if (thing is Thing.Foo) return thing.fooValue
return thing.barValue // <-- doesn't know it must be Thing.Bar