Skip to content

Parsing fails if source contains multiline string #254

Description

@murrayju

Coffeescript allows multiline strings. The codo parser throws an error if the source contains a multiline string with interpolation.

class Test
  constructor: (a, b) ->
    @thing = "#{a} >
      #{b}"

Gives the error:

error: Cannot parse Coffee file Test.coffee: missing "

The same code passes through the CoffeeScript compiler (and coffeelint) without error.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions