Idris2/tests/idris2/error/perror031/Issue3251.idr
2024-04-08 20:42:36 -07:00

20 lines
229 B
Idris

import Language.Reflection
(.fun) : Nat -> Nat
x : TTImp
f : Nat -> TTImp
useX : TTImp
useX = `(g (~x).fun)
useX' : TTImp
useX' = `(g ~x.fun)
useFX : TTImp
useFX = `(g (~(f 5)).fun)
useFX' : TTImp
useFX' = `(g ~(f 5).fun)