Skip to content

// comment \ #346

@neopaf

Description

@neopaf

Expected

The line is commented out, including trailing ''.
Trailing '' has no special meaning

Actual

Trailing '' pulls the next line up and that line also gets commented.

Steps to reproduce

workspace {
	model {
// evil comment that kills next line \
	}
        views {
        }
}

you'd get obscure "unexpected token" at views { line

Version/build information

3.0.0

Severity

Minor

Priority

I have no budget and there's no rush, please fix this for free

More information

IntelliJ plugin highlights no errors within file, it thinks // line is completely ignored, next line is not highlighted in comment color.

error message does not contain indication that we are still in model context.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions