Skip to content

frontend: Wrong diagnostics from syntax type mismatch #934

@flofriday

Description

@flofriday

The following program produces completly wrong diagnostics:

model example(arg: Bool) : Ex =  {
   1 + 2
}

constant n = 3 * $example(5)
Image
  • Why does it produce 3 errors?
  • Why is the location missing?
  • Why does it talk about ID when it was an INT?

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions