Skip to content

"character literal contains multiple characters" error message #53563

Open
@jariji

Description

That's just a semicolon, so the character literal contains only one character.

julia> 1';'
       
       
ERROR: ParseError:
# Error @ REPL[7]:1:5
#   ┌
1';'

┘ ── character literal contains multiple characters
Stacktrace:
 [1] top-level scope
   @ none:1

Edit: minimal demo, thanks to @giordano:

julia> '
       
       
ERROR: 
ParseError:
# Error @ REPL[1]:1:2
#┌
'

┘ ── character literal contains multiple characters
Stacktrace:
 [1] top-level scope
   @ none:1

Metadata

Assignees

No one assigned

    Labels

    error messagesBetter, more actionable error messagesparserLanguage parsing and surface syntax

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions