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

can't create list of strings

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Duplicate
    • 2.4.0-beta-3
    • None
    • Groovysh
    • None

    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

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

              Dates

                Created:
                Updated:
                Resolved: