Community
Participate
Working Groups
Consider the following use case myMethod(Object o) { } myMethod(int i) { } doStuff() { var i = 1 return myMethod(i) vs return myMethod(println(i)) } Since println currently returns an object, adding logging to the return expression will change the semantics of the method. Therefore I suggest to add overloaded variants for print and println similar to java.io.PrintWriter but with a return value
GitHub Pull Request 5 created by [cdietrich] https://github.com/eclipse/xtext-lib/pull/5
fixed in Xtext 2.11
reverted change caused by negative side effects on the type inference