Skip to content

Commit d3f442f

Browse files
committed
Fix error number
1 parent c9c5853 commit d3f442f

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

tests/neg/17284.check

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
-- [E183] Potential Issue Error: tests/neg/17284.scala:4:6 -------------------------------------------------------------
1+
-- [E187] Potential Issue Error: tests/neg/17284.scala:4:6 -------------------------------------------------------------
22
4 | 451.synchronized {} // error
33
| ^^^^^^^^^^^^^^^^
44
| Suspicious synchronized call on boxed class
@@ -8,7 +8,7 @@
88
| You called the synchronized method on a boxed primitive. This might not be what
99
| you intended.
1010
---------------------------------------------------------------------------------------------------------------------
11-
-- [E183] Potential Issue Error: tests/neg/17284.scala:8:4 -------------------------------------------------------------
11+
-- [E187] Potential Issue Error: tests/neg/17284.scala:8:4 -------------------------------------------------------------
1212
8 | x.synchronized {} // error
1313
| ^^^^^^^^^^^^^^
1414
| Suspicious synchronized call on boxed class
@@ -18,7 +18,7 @@
1818
| You called the synchronized method on a boxed primitive. This might not be what
1919
| you intended.
2020
---------------------------------------------------------------------------------------------------------------------
21-
-- [E183] Potential Issue Error: tests/neg/17284.scala:11:7 ------------------------------------------------------------
21+
-- [E187] Potential Issue Error: tests/neg/17284.scala:11:7 ------------------------------------------------------------
2222
11 | true.synchronized {} // error
2323
| ^^^^^^^^^^^^^^^^^
2424
| Suspicious synchronized call on boxed class

tests/neg/i17266.check

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
| resolved to calls on Predef or on imported methods. This might not be what
2121
| you intended.
2222
--------------------------------------------------------------------------------------------------------------------
23-
-- [E183] Potential Issue Error: tests/neg/i17266.scala:22:4 -----------------------------------------------------------
23+
-- [E187] Potential Issue Error: tests/neg/i17266.scala:22:4 -----------------------------------------------------------
2424
22 | 1.synchronized { // error
2525
| ^^^^^^^^^^^^^^
2626
| Suspicious synchronized call on boxed class

0 commit comments

Comments
 (0)