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

MissingMethodException for rightShift on Integer

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.0-beta-5
    • groovy-jdk
    • None

    Description

      println 1 >> 6

      results in:

      Caught: groovy.lang.MissingMethodException: No such method: rightShift for class: java.lang.Integer with arguments: [6]
      groovy.lang.MissingMethodException: No such method: rightShift for class: java.lang.Integer with arguments: [6]
      at groovy.lang.MetaClass.invokeMethod(MetaClass.java:307)
      at org.codehaus.groovy.runtime.Invoker.invokeMethod(Invoker.java:130)
      at org.codehaus.groovy.runtime.InvokerHelper.invokeMethod(InvokerHelper.java:106)
      at test6.run(test6.groovy)

      Attachments

        Issue Links

          Activity

            People

              goetze Steve Goetze
              jamiemc Jamie McCrindle
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: