Skip to content

Commit b59a6ae

Browse files
committed
Update check files
1 parent 237bf89 commit b59a6ae

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
-- Error: tests/neg-custom-args/quoted-pattern-poly/quoted-pattern-with-bounded-type-params.scala:10:50 ----------------
2-
10 | case '{ [A <: Int, B] => (x : A, y : A) => $b[A](x, y) : A } => // error
2+
10 | case '{ [A <: Int, B] => (x : A, y : A) => $b[A](x, y) : A } => ??? // error
33
| ^
44
| Implementation restriction: Type arguments to Open pattern are expected to have no bounds
Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
-- Error: tests/neg-custom-args/quoted-pattern-poly/quoted-pattern-with-type-params.scala:5:32 -------------------------
2-
5 | case '{ [A] => (x : A) => $b[A] : (A => A) } => // error
2+
5 | case '{ [A] => (x : A) => $b[A] : (A => A) } => ??? // error
33
| ^^^^^
44
| Implementation restriction: A higher-order pattern must carry value arguments
5-
-- Error: tests/neg-custom-args/quoted-pattern-poly/quoted-pattern-with-type-params.scala:7:33 -------------------------
6-
7 | case '{ [A] => (x : A) => $b(x) : (A => A) } => // error
5+
-- Error: tests/neg-custom-args/quoted-pattern-poly/quoted-pattern-with-type-params.scala:6:33 -------------------------
6+
6 | case '{ [A] => (x : A) => $b(x) : (A => A) } => ??? // error
77
| ^
88
| Type variables that this argument depends on are not captured in this hoas pattern
9-
-- Error: tests/neg-custom-args/quoted-pattern-poly/quoted-pattern-with-type-params.scala:9:26 -------------------------
10-
9 | case '{ (a:Int) => $b[Int](a) : String } => // error
9+
-- Error: tests/neg-custom-args/quoted-pattern-poly/quoted-pattern-with-type-params.scala:7:26 -------------------------
10+
7 | case '{ (a:Int) => $b[Int](a) : String } => ??? // error
1111
| ^^^
1212
| Type arguments of a hoas pattern needs to be defined inside the quoted pattern

0 commit comments

Comments
 (0)