Shouldn't that have been:
$foo : Foo (myEnum == MyEnum.someItem)
Your field is presumably "myEnum", whereas the class is "MyEnum".
On 18 Apr 2013, at 18:19, Sean Su <
sean.x.su@gmail.com
> wrote:
$foo : Foo (MyEnum == MyEnum.someItem)