Closed matthewhammer closed 3 years ago
That’s odd: As if the type checker was incomplete. Minimal example:
ignore ({foo = 0} : { bar : Nat });
That example is correctly rejected on my local build (which is a few weeks behind TOT). Looks like a bug with the new record typing, @crusso?
Reproducing it
I don't have a minimal example yet, but I have a way to reproduce it and avoid it.
This tiny commit resolved the program type error and avoided this bug