Skip to content

Unclear error message for invalid string #355

Open
@ParadaCarleton

Description

@ParadaCarleton

New users may not know that $ (or some other character) has a special meaning in Julia, in which case this error is confusing:

julia> str = "hello $x$"
ERROR: ParseError:
# Error @ REPL[26]:1:17
str = "hello $x$"
#               └ ── identifier or parenthesized expression expected after $ in string

Metadata

Metadata

Assignees

No one assigned

    Labels

    error messagesBetter, more actionable diagnostics

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions