Skip to content

type errors are broken #1525

Closed
Closed
@shriram

Description

@shriram

This program

fun f(x :: Number):
  x / "3"
end

reports the following type error:
image

Changing it to

fun f(x :: String):
  x / "3"
end

produces
image

It seems like somewhere the error-reporting mechanism is failing to recognize structures and is just printing them out literally?

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