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

can't create list of strings

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Blocker
    • Resolution: Duplicate
    • Affects Version/s: 2.4.0-beta-3
    • Fix Version/s: None
    • Component/s: Groovysh
    • Labels:
      None
    • Environment:

      Description

      groovy:000> ["asdf"]
      ERROR java.lang.IllegalArgumentException:
      Missing closing "
              at java_lang_Runnable$run.call (Unknown Source)
      groovy:000> [ "asdf"]
      ===> [asdf]
      groovy:000> ['asdf']
      ERROR java.lang.IllegalArgumentException:
      Missing closing '
              at java_lang_Runnable$run.call (Unknown Source)
      groovy:000> [ 'asdf']
      ===> [asdf]
      

      pretty sure this bug was introduced with https://github.com/groovy/groovy-core/pull/491/files - I tried to figure it out what's the problem by starring at the code, but wasn't able to see it ...

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                stunksys Korbinian Schmid
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: