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

MME on Class receiver via method closure

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.0.0-alpha-2, 2.5.0
    • 4.0.0-beta-1
    • None
    • None

    Description

      def c = Integer
      println c.toGenericString() // public final class java.lang.Integer
      def cl = c.&toGenericString
      println cl() // groovy.lang.MissingMethodException: No signature of method: java.lang.Integer.toGenericString() is applicable for argument types: () values: []
      

      Attachments

        Issue Links

          Activity

            People

              emilles Eric Milles
              daniilo Daniil Ovchinnikov
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: