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

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

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.5.4
    • Fix Version/s: 1.5.6, 1.6-beta-1
    • Component/s: Groovysh
    • Labels:
      None
    • Environment:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: