Idris2/tests/idris2/interactive026/expected
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

12 lines
327 B
Plaintext

1/1: Building TypeAtRecords (TypeAtRecords.idr)
Main> Main.Person.name : Person animal -> String
Main> Main.Person.age : Person animal -> Nat
Main> Main.Person.pet : Person animal -> animal
Main> animal : Type
Main> one : Nat
Main> p : Person a
Main> emptyString : String
Main> zero : Nat
Main> p : Person a
Main> Bye for now!