« Return to Thread: Groovy AST not taking?

Re: Groovy AST not taking?

by Robert Fischer :: Rate this Message:

Reply to Author | View in Thread

I haven't run your tests, so I'm not sure what the result is.  Since my error was a lack of "log"
property, it sounds like this conversion problem was the issue.

> No. The reason why I suggested a global transform is that the compiler seems
> to do some checks for static properties during semantic analysis. Therefore
> you might need to add 'log' before semantic analysis if you want to support
> all ways that it could be accessed (qualified, unqualified, from the same
> class, from other classes, etc.). But only global transforms can be run
> before semantic analysis (i.e. in phase CONVERSION).
>
Ah.  Sucky.  Is this something I should open a JIRA on?  Seems off to me.

~~ Robert Fischer, Smokejumper IT Consulting.
Enfranchised Mind Blog http://EnfranchisedMind.com/blog

Check out my book, "Grails Persistence with GORM and GSQL"!
http://www.smokejumperit.com/redirect.html

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


 « Return to Thread: Groovy AST not taking?