Skip to content

Commit 975f7f9

Browse files
committed
Add test for applying an implicit arg to a non-function head
1 parent f59e9d0 commit 975f7f9

File tree

2 files changed

+14
-0
lines changed

2 files changed

+14
-0
lines changed
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
//~ exit-code = 1
2+
3+
true @Bool
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
stdout = ''
2+
stderr = '''
3+
error: expression was applied to an unexpected argument
4+
┌─ tests/fail/elaboration/implicit-args/unexpected-argument.fathom:3:7
5+
6+
3true @Bool
7+
---- ^^^^ unexpected argument
8+
│ │
9+
expression of type Bool
10+
11+
'''

0 commit comments

Comments
 (0)