Idris2/tests/idris2/error022/UpdateLoc.idr
Guillaume ALLAIS 384c8874c2 [ fix #1979 ] use virtualised locs rather than EmptyFCs
For error reporting purposes it's better to have an (approximate)
virtual location for code that was introduced by the elaborator
than to have an `EmptyFC` that does not help.
2021-10-07 16:07:03 +01:00

6 lines
69 B
Idris

record Nat2 where
nat : Nat
f : Nat2 -> Nat2
f = { nat $= floor }