Skip to content

Bad error message on typecasting while using '<' operator #14995

@bollu

Description

@bollu
if 1 as f32 < 2.

prints out the error message

expected type, found token LIT_INT_UNSUFFIXED(2i64)

However, >, ==, and != do the right thing.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions