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

Error message could be improved

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.0-JSR-6
    • 1.6.3
    • parser-antlr2
    • None
    • Ubuntu 5.10 Breezy Badger ; JDK 1.5.0_06 ; Groovy CVS 2006-03-26

    Description

      The Groovy script:

      class Trial {
      final static aString = """Blah"""
      static void main ( args ) {
      def anotherString = """${aString}"""
      }

      results in the error message:

      org.codehaus.groovy.control.MultipleCompilationErrorsException: startup failed, ./trial.groovy: 8: unexpected token: null @ line 8, column 1.
      1 Error

      The error is that there is a missing }.

      Attachments

        Issue Links

          Activity

            People

              paulk Paul King
              russel Dr. Russel Winder
              Votes:
              1 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: