Skip to content

Newlines not accepted after escaped Heredoc identifier in REPL #15854

Open
@devnote-dev

Description

@devnote-dev

Attempting to use an escaped heredoc identifier in the REPL causes it to evaluate the expression as an empty string:

icr:1> p <<-'FOO'
""
 => ""
icr:2>

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