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

static import is no longer working

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.1-beta-3
    • Component/s: None
    • Labels:
      None

      Description

      the following code fragment returns a MissingPropertyException:
      -----------------
      import static java.lang.Math.*

      println cos(2*PI)
      -----------------
      With past versions it worked.

        Attachments

          Activity

            People

            • Assignee:
              paulk Paul King
              Reporter:
              jbaumann Joachim Baumann
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: