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

string literal can span rows

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 3.0.0-alpha-4
    • parser-antlr4
    • None

    Description

      The following code should be invalid

      def a = 'a
      '
      
      def b = "b
      
      "
      

      Attachments

        Activity

          People

            daniel_sun Daniel Sun
            daniel_sun Daniel Sun
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: