Skip to content

Commit

Permalink
change error code from 183 to 186 in checkfile
Browse files Browse the repository at this point in the history
  • Loading branch information
arainko committed Jul 1, 2023
1 parent 03a2ae0 commit 3f3bd01
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions tests/neg/i17738-toplevel-infix.check
Original file line number Diff line number Diff line change
@@ -1,20 +1,20 @@
-- [E183] Syntax Error: tests/neg/i17738-toplevel-infix.scala:13:10 ----------------------------------------------------
-- [E186] Syntax Error: tests/neg/i17738-toplevel-infix.scala:13:10 ----------------------------------------------------
13 |infix val toplevelVal = ??? // error
| ^
| a toplevel val cannot be infix
-- [E183] Syntax Error: tests/neg/i17738-toplevel-infix.scala:14:10 ----------------------------------------------------
-- [E186] Syntax Error: tests/neg/i17738-toplevel-infix.scala:14:10 ----------------------------------------------------
14 |infix var toplevelVar = ??? // error
| ^
| a toplevel var cannot be infix
-- [E183] Syntax Error: tests/neg/i17738-toplevel-infix.scala:15:10 ----------------------------------------------------
-- [E186] Syntax Error: tests/neg/i17738-toplevel-infix.scala:15:10 ----------------------------------------------------
15 |infix def toplevelDef = ??? // error
| ^
| a toplevel def cannot be infix
-- [E183] Syntax Error: tests/neg/i17738-toplevel-infix.scala:16:12 ----------------------------------------------------
-- [E186] Syntax Error: tests/neg/i17738-toplevel-infix.scala:16:12 ----------------------------------------------------
16 |infix given toplevelGiven: Int = ??? // error
| ^
| a toplevel given cannot be infix
-- [E183] Syntax Error: tests/neg/i17738-toplevel-infix.scala:17:19 ----------------------------------------------------
-- [E186] Syntax Error: tests/neg/i17738-toplevel-infix.scala:17:19 ----------------------------------------------------
17 |infix implicit val topevelImplicit: Int = ??? // error
| ^
| a toplevel val cannot be infix

0 comments on commit 3f3bd01

Please sign in to comment.