Skip to content

Commit 397574b

Browse files
committed
test: safe coverage
1 parent 4e27bd4 commit 397574b

File tree

2 files changed

+13
-0
lines changed

2 files changed

+13
-0
lines changed

Diff for: base/src/test/resources/failure/tyck/not-pi.aya

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
def foo {A : Type} (a : A) : A => a a

Diff for: base/src/test/resources/failure/tyck/not-pi.aya.txt

+12
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
In file $FILE:1:34 ->
2+
3+
1 │ def foo {A : Type} (a : A) : A => a a
4+
│ ╰─╯
5+
6+
Error: Unable to apply the expression
7+
a a
8+
because the type of what you applied is not a Pi type, but instead:
9+
A
10+
11+
1 error(s), 0 warning(s).
12+
What are you doing?

0 commit comments

Comments
 (0)