Skip to content

3:::Int parses as 3::(:Int) #55304

Open
Open
@nsajko

Description

julia> 3:::Int
ERROR: TypeError: in typeassert, expected Type, got a value of type Symbol
Stacktrace:
 [1] top-level scope
   @ REPL[2]:1

julia> 3::(:Int)
ERROR: TypeError: in typeassert, expected Type, got a value of type Symbol

Perhaps a warning/syntax error would make more sense.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    breakingThis change will break codeparserLanguage parsing and surface syntax

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions