Skip to content

Pasting multi-line input eats comment #57439

Open
@lgoettgens

Description

@lgoettgens

We experience this in Oscar.jl (cf. oscar-system/Oscar.jl#4402 (comment))

Try pasting the full code block into the REPL:

julia> x = 1
       # hello
1

If you paste this in 1.11 it looks exactly like here, in 1.12-nightly (08d3c70) and nightly (f6e2b98) it changes to:

julia> x = 1
1

cc @benlorenz @c42f

Metadata

Metadata

Assignees

Labels

REPLJulia's REPL (Read Eval Print Loop)parserLanguage parsing and surface syntax

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions