Eric Milles created GROOVY-10901:
------------------------------------

             Summary: Annotation on local variable seen as type annotation
                 Key: GROOVY-10901
                 URL: https://issues.apache.org/jira/browse/GROOVY-10901
             Project: Groovy
          Issue Type: Bug
            Reporter: Eric Milles


Consider the following:
{code:groovy}
def (int i, @Deprecated Number n) = list
{code}

The annotation "@Deprecated" is saved as a type annotation on "Number" and not 
a local variable annotation on "n".



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to