Skip to content

multi-line strings do not terminate properly #398

Closed
@processing-bot

Description

@processing-bot

Created by: scudly

If you attempt to create a pair of multi-line strings, they are both merged into one string:

String foo = """
hi
bye
""";

String bar = """
wee
woo
""";

println( foo );

generates

hi
bye
""";

String bar = """
wee
woo

and the variable "bar" does not exist.

The expected behavior is that foo and bar should each be a double-line string. "foo" should terminate with the """ line immediately below "bye". Multi-line strings should terminate at the first line that contains """.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions