Skip to content

Commit fed7a90

Browse files
committed
Update error number in check files
1 parent 213b4dd commit fed7a90

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

tests/neg/classOf.check

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
1-
-- [E079] Type Error: tests/neg/classOf.scala:6:22 ---------------------------------------------------------------------
1+
-- [E170] Type Error: tests/neg/classOf.scala:6:22 ---------------------------------------------------------------------
22
6 | def f1[T] = classOf[T] // error
33
| ^
44
| T is not a class type
5-
-- [E079] Type Error: tests/neg/classOf.scala:7:32 ---------------------------------------------------------------------
5+
-- [E170] Type Error: tests/neg/classOf.scala:7:32 ---------------------------------------------------------------------
66
7 | def f2[T <: String] = classOf[T] // error
77
| ^
88
| T is not a class type
99
|
1010
| where: T is a type in method f2 with bounds <: String
11-
-- [E079] Type Error: tests/neg/classOf.scala:9:18 ---------------------------------------------------------------------
11+
-- [E170] Type Error: tests/neg/classOf.scala:9:18 ---------------------------------------------------------------------
1212
9 | val y = classOf[C { type I = String }] // error
1313
| ^^^^^^^^^^^^^^^^^^^^^
1414
| Test.C{I = String} is not a class type

tests/neg/i13808.check

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
-- [E079] Type Error: tests/neg/i13808.scala:13:37 ---------------------------------------------------------------------
1+
-- [E170] Type Error: tests/neg/i13808.scala:13:37 ---------------------------------------------------------------------
22
13 |case class Boom[A](value: A) derives OpaqueType, Foo // error // error
33
| ^^^^^^^^^^
44
| OpaqueTypes.OpaqueType is not a class type
5-
-- [E079] Type Error: tests/neg/i13808.scala:13:49 ---------------------------------------------------------------------
5+
-- [E170] Type Error: tests/neg/i13808.scala:13:49 ---------------------------------------------------------------------
66
13 |case class Boom[A](value: A) derives OpaqueType, Foo // error // error
77
| ^^^
88
| FooModule.Foo is not a class type

tests/neg/i15155.check

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
-- [E079] Type Error: tests/neg/i15155.scala:10:33 ---------------------------------------------------------------------
1+
-- [E170] Type Error: tests/neg/i15155.scala:10:33 ---------------------------------------------------------------------
22
10 | val EnumerationClass = classOf[EnumValue[E]] // error
33
| ^^^^^^^^^^^^
44
| EnumValue[E] is not a class type

0 commit comments

Comments
 (0)