These examples [here](https://github.com/ceylon/ceylon-js/issues/659) should be disallowed by the typechecker, for consistency, since the expression `(foo) { }` is parsed as an anonymous function.