Example code: class C { final int x; C() : x = (){ return 42; }(); } main() { print(new C().x); } This errs with the message: 'file:..../initcall.dart': Error: line 3 pos 13: unexpected token ')' C() : x = (){ return 42; }(); The grammar allows the syntax.