mirror of
https://github.com/idris-lang/Idris2.git
synced 2024-12-27 05:34:40 +03:00
14 lines
226 B
Idris
14 lines
226 B
Idris
|
module StillCantEscape
|
||
|
|
||
|
import CanElabType
|
||
|
|
||
|
import Language.Reflection
|
||
|
|
||
|
%language ElabReflection
|
||
|
|
||
|
-- check that zero does not leak, should not typecheck
|
||
|
failing "CanElabType.T is private"
|
||
|
|
||
|
T' : Type
|
||
|
T' = %runElab elabExpr
|