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

assigning to a class name should give a meaningful error message

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.0-beta-4
    • None
    • None

    Description

      This one was spotted by Ian Macey. Run this script...

      dummy = 0
      for ( i in 0..9 ) {
      dummy += i
      }
      println("done")

      but save it in a file called dummy.groovy. Then run it by

      groovy dummy.groovy

      and you get a wierd error.

      Attachments

        Activity

          People

            Unassigned Unassigned
            jstrachan James Strachan
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: