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

Triple quoted string with quotes on end of line

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.5.0-beta-3, 2.4.14, 2.4.15
    • 3.0.0-alpha-2, 2.6.0-alpha-4
    • lexer
    • None

    Description

      def v = '''string='a''''

      error: unexpected char: ''' at line: 1, column: 24

       while 

       def v = '''string='a' '''

      works fine

      Attachments

        Activity

          People

            daniel_sun Daniel Sun
            a.baimurunov@gmail.com Anvar Baimurunov
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: