Idris2/tests/idris2/reflection017/StillCantEscape.idr

14 lines
226 B
Idris
Raw Normal View History

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