mirror of
https://github.com/idris-lang/Idris2.git
synced 2024-12-21 02:31:50 +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
|