on master help sign in
Reinstate universe checking in test002
f6d3e1cEdwin Brady
test/test002/expected+2
@@ -0,0 +1,2 @@
1+test002.idr:5:6:Universe inconsistency
2+test002.idr:5:6:Universe inconsistency
test/test002/test002.idr+5−6
@@ -1,9 +1,8 @@
1−myid : a -> a
1+myid : (a : Type) -> a -> a
2−myid x = x
2+myid _ x = x
3
3
4−-- FIXME: Raw TT quotations currently unsupported in parser
5−--idid : (a : Type) -> a -> a
4+idid : (a : Type) -> a -> a
6−--idid = myid ![myid]
5+idid = myid _ myid
7
6
8app : (a -> b) -> a -> b
7app : (a -> b) -> a -> b
9app f x = f x
8app f x = f x
@@ -12,7 +11,7 @@ foo : a -> b -> c -> d -> e -> e
12foo a b c d e = e
11foo a b c d e = e
13
12
14doapp : a -> a
13doapp : a -> a
15−doapp x = app myid x
14+doapp x = app (myid _) x
16
15
17{-
16{-
18
17