On 19.10.2016 12:34, Jesper Steen Møller wrote:
Hi Daniel Be careful with that approach, as it won’t work for static methods — leading to very different semantics for the two languages. Also, you won’t be able to support constructor references without some new AST construct, I guess.
Normally Object.&newInstance should for that... should, but does not, because MethodClosure does actually only look at the static method and newInstance is from DGM.
bye Jochen