-
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.
No longer print VBAR in the middle of the message
Co-authored-by: Tom Grigg <tomegrigg@gmail.com>
- Loading branch information
Showing
4 changed files
with
29 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
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
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 |
---|---|---|
@@ -0,0 +1,18 @@ | ||
-- [E007] Type Mismatch Error: tests/neg-custom-args/i13026.scala:1:13 ------------------------------------------------- | ||
1 |val x: Int = "not an int" // error | ||
| ^^^^^^^^^^^^ | ||
| Found: ("not an int" : String) | ||
| Required: Int | ||
|
||
longer explanation available when compiling with `-explain` | ||
-- [E007] Type Mismatch Error: tests/neg-custom-args/i13026.scala:2:13 ------------------------------------------------- | ||
2 |val y: Int = "not an int" // error | ||
| ^^^^^^^^^^^^ | ||
| Found: ("not an int" : String) | ||
| Required: Int | ||
|
||
longer explanation available when compiling with `-explain` | ||
-- [E008] Not Found Error: tests/neg-custom-args/i13026.scala:3:20 ----------------------------------------------------- | ||
3 |def foo(x: Any) = x.foo // error | ||
| ^^^^^ | ||
| value foo is not a member of Any |
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 |
---|---|---|
@@ -0,0 +1,3 @@ | ||
val x: Int = "not an int" // error | ||
val y: Int = "not an int" // error | ||
def foo(x: Any) = x.foo // error |