-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
change error code from 183 to 186 in checkfile
- Loading branch information
Showing
1 changed file
with
5 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |