Skip to content

Parsing fails if source contains multiline string #254

@murrayju

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.

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