Community
Participate
Working Groups
The following yields an error "Type mismatch: cannot convert from void to String" def String test(String dir) { while (true) { try { return dir } catch (RuntimeException e) { } } } Should be no error. Spotted when auto-converting some Java code to Xtend.