Skip to content

REPL.ends_with_semicolon broken on adjoint operator with comment #46189

@dstahlke

Description

@dstahlke

This string is parsed incorrectly by ends_with_semicolon:

julia> REPL.ends_with_semicolon("W = W' * W; # comment")
false

My guess is the single apostrophe (adjoint operator) is interpreted as a quote.

Metadata

Metadata

Assignees

Labels

REPLJulia's REPL (Read Eval Print Loop)bugIndicates an unexpected problem or unintended behavior

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions