[jira] [Commented] (GROOVY-8474) 'Unexpected super property set for:' when accessing super class property via super.propertyName

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Commented] (GROOVY-8474) 'Unexpected super property set for:' when accessing super class property via super.propertyName

JIRA jira@apache.org

    [ https://issues.apache.org/jira/browse/GROOVY-8474?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16357761#comment-16357761 ]

Daniel Sun commented on GROOVY-8474:
------------------------------------

[~blackdrag] I've refined the fix according to your suggestion :-)
https://github.com/apache/groovy/commit/221c13988cf904cb21a1c0559272a960918ad45d

> 'Unexpected super property set for:' when accessing super class property via super.propertyName
> -----------------------------------------------------------------------------------------------
>
>                 Key: GROOVY-8474
>                 URL: https://issues.apache.org/jira/browse/GROOVY-8474
>             Project: Groovy
>          Issue Type: Bug
>    Affects Versions: 2.4.13
>         Environment: Mac OS X, JDK 8
>            Reporter: zhb
>            Assignee: Daniel Sun
>            Priority: Critical
>
>  
> {{class T {}}
>  {{  String group}}
>  {{}}}
> {{class S extends T {}}
>  {{  S() {}}
>  {{    super.group = ''}}
>     }
>  {{}}}
>  
> BUG! exception in phase 'class generation' in source unit 'ideaGroovyConsole.groovy' Unexpected super property set for:super.group
>  
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)