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

Compilation fails when accessing getter with shortcut notation on Java class

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.0.20
    • 3.0.20
    • Static compilation
    • None

    Description

      Example project that demonstrates the issue: https://github.com/matrei/bug-groovy-java-getter

      Workaround: Use long form o.getName() instead of o.name

       

      Attachments

        Issue Links

          Activity

            People

              emilles Eric Milles
              matrei Mattias Reichel
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: