Skip to content

Commit 862bf1e

Browse files
committed
update test case
1 parent 2a61034 commit 862bf1e

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed
Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
1-
-- Error: tests/neg-macros/quoted-pattern-with-type-params.scala:5:31 --------------------------------------------------
2-
5 | case '{ [A] => (x : A) => $b[A] : (A => A) } => // error
1+
-- Error: tests/neg-macros/quoted-pattern-with-type-params.scala:8:31 --------------------------------------------------
2+
8 | case '{ [A] => (x : A) => $b[A] : (A => A) } => ??? // error
33
| ^
44
| Type must be fully defined.
55
| Consider annotating the splice using a type ascription:
66
| (${b}: XYZ).
7-
-- Error: tests/neg-macros/quoted-pattern-with-type-params.scala:7:33 --------------------------------------------------
8-
7 | case '{ [A] => (x : A) => $b(x) : (A => A) } => // error
7+
-- Error: tests/neg-macros/quoted-pattern-with-type-params.scala:9:33 --------------------------------------------------
8+
9 | case '{ [A] => (x : A) => $b(x) : (A => A) } => ??? // error
99
| ^
1010
| Type variables that this argument depends on are not captured in this hoas pattern
11-
-- Error: tests/neg-macros/quoted-pattern-with-type-params.scala:9:24 --------------------------------------------------
12-
9 | case '{ (a:Int) => $b[Int](a) : String } => // error
13-
| ^
14-
| Type must be fully defined.
15-
| Consider annotating the splice using a type ascription:
16-
| (${b}: XYZ).
11+
-- Error: tests/neg-macros/quoted-pattern-with-type-params.scala:10:24 -------------------------------------------------
12+
10 | case '{ (a:Int) => $b[Int](a) : String } => ??? // error
13+
| ^
14+
| Type must be fully defined.
15+
| Consider annotating the splice using a type ascription:
16+
| (${b}: XYZ).

0 commit comments

Comments
 (0)