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

multiline string with """ or ''' error causes problem in groovysh

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.5.4
    • 1.5.6, 1.6-beta-1
    • Groovysh
    • None
    • Windows XP sp2

    Description

      $ groovysh
      Groovy Shell (1.5.4, JVM: 1.6.0_01-b06)
      Type 'help' or '\h' for help.
      -------------------------------------------------------------------------------
      groovy:000> a = '''abc
      ERROR org.codehaus.groovy.control.MultipleCompilationErrorsException: startup fa
      iled, groovysh_parse: 1: expecting ''', found '<EOF>' @ line 1, column 11.
      a = '''abc
      ^

      1 error

      Attachments

        Activity

          People

            paulk Paul King
            uehaj UEHARA Junji
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: