Skip to content

missing error for ** #112

@JeffBezanson

Description

@JeffBezanson
julia> 2**3
ERROR: ParseError:
Error: invalid syntax atom
@ REPL[3]:1:2
2**3
Error: extra tokens after end of expression
@ REPL[3]:1:4
2**3

instead of

julia> 2**3
ERROR: syntax: use "x^y" instead of "x**y" for exponentiation, and "x..." instead of "**x" for splatting.

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