Re: [groovy-macro] static method call expressions

2016-04-19 Thread Sergei Egorov
Hey Mario, Good catch! Maybe we should add it to documentation (when there will be some :D ) BR, Sergei On Tue, Apr 19, 2016 at 6:21 PM Mario Garcia wrote: > I figured out why: > > By default macros are using CompilePhase.CONVERSION and at this point the > compiler

Re: [groovy-macro] static method call expressions

2016-04-19 Thread Mario Garcia
I figured out why: By default macros are using CompilePhase.CONVERSION and at this point the compiler doesn't care about types. That's why it didn't recognized neither "JsonOutput" (When using JsonOutput.toJson...) nor "groovy" (When using groovy.json.JsonOutput.toJson...): The way it's working