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