pyret-lang icon indicating copy to clipboard operation
pyret-lang copied to clipboard

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

Open blerner opened this issue 5 years ago • 0 comments

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.)

blerner avatar Nov 13 '20 13:11 blerner