Skip to content

can't compare double to Literal #85

Description

@belm0

Is it intentional that a double can't be compared to an integer literal?

    if plus >= 0:
      ^
compiler.errors.TypedSyntaxError: can't compare double to Literal[0]

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions