[ 
http://jira.codehaus.org/browse/MGROOVY-151?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=139961#action_139961
 ] 

Jason Dillon commented on MGROOVY-151:
--------------------------------------

Um... I'm really not sure what the desired behavior is here when giving a 
{{groovy-script}} to the stub-compiler.  I mean, the bits in there are intended 
to be transformed into Java-compatible thingys.  Anyways, I'm not sure at the 
moment what the proper way to generate a stub for this is.  I suppose it should 
be possible to support, but not IMO its not very meaningful.

> StubGenerator fails on groovy-script
> ------------------------------------
>
>                 Key: MGROOVY-151
>                 URL: http://jira.codehaus.org/browse/MGROOVY-151
>             Project: GMaven
>          Issue Type: Bug
>          Components: stub generation
>            Reporter: Bart Robeyns
>            Assignee: Jason Dillon
>            Priority: Minor
>             Fix For: 1.0-rc-3
>
>         Attachments: jointissue.zip
>
>
> Groovy files that contain code outside of a class definition result in  
> grammar-errors. Errors that I've witnessed include
> Unknown AST: VARIABLE_DEF
> Unknown AST: EXPR
> Unknown AST: ASSERT
> The attached file contains a minimalistic maven project that reproduces the 
> error when running
> mvn compile

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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

    http://xircles.codehaus.org/manage_email


Reply via email to