Uploaded image for project: 'Groovy'
  1. Groovy
  2. GROOVY-8474

'Unexpected super property set for:' when accessing super class property via super.propertyName

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    Description

       

      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

       

       

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            daniel_sun Daniel Sun
            blindpirate zhb
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment