Skip to content

Well-formedness checker is overzealous about testing-expressions on the same line as ... expressions #1542

Open
@blerner

Description

@blerner

The following check-block gives a well-formedness error:

check:
  ... 6 ... is 6
end

image
The same error occurs even if the testing expression is not in a check-block:

fun f():
  ... 6 ... is 6
end

image
(N.B. It does also give the correct error that the test expression is not in a check block; that's working properly.)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions