e.g, ``` struct Foo { int x; int y; } int foo(thread Foo* foo, uint index) { if (index == 0) return foo->x; return foo->y; } ```
Please ignore, this was a case of not having "native bool operator==(uint, uint);" in the standard library. :-(