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

Parent class print method is wrongly picked up

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.0-beta-5
    • 1.0-JSR-1
    • None
    • None

    Description

      When extending a java class that contains several overloaded 'print' methods, groovy seems to decide that none exists and uses the global print statement instead.

      Attachments

        1. Element.java
          0.2 kB
          Geert Bevin
        2. PrintTest.groovy
          0.2 kB
          Geert Bevin

        Issue Links

          Activity

            People

              blackdrag Jochen Theodorou
              gbevin Geert Bevin
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: