Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Martijn Hoekstra
committed
Aug 2, 2019
1 parent
bc04542
commit 220fc45
Showing
2 changed files
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,4 +1,4 @@ | ||
t6631.scala:2: error: invalid escape '\x' not one of [\b, \t, \n, \f, \r, \\, \", \'] at index 0 in "\x". Use \\ for literal \. | ||
t6631.scala:2: error: invalid escape '\x' not one of [\b, \t, \n, \f, \r, \, \", \', \uxxxx] at index 0 in "\x". Use \\ for literal \. | ||
s"""\x""" | ||
^ | ||
one error found |
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,12 +1,12 @@ | ||
literals.scala:58: warning: Lowercase el for long is not recommended because it is easy to confuse with numeral 1; use uppercase L instead | ||
literals.scala:63: warning: Lowercase el for long is not recommended because it is easy to confuse with numeral 1; use uppercase L instead | ||
check_success("1l == 1L", 1l, 1L) | ||
^ | ||
literals.scala:59: warning: Lowercase el for long is not recommended because it is easy to confuse with numeral 1; use uppercase L instead | ||
literals.scala:64: warning: Lowercase el for long is not recommended because it is easy to confuse with numeral 1; use uppercase L instead | ||
check_success("1L == 1l", 1L, 1l) | ||
^ | ||
literals.scala:60: warning: Lowercase el for long is not recommended because it is easy to confuse with numeral 1; use uppercase L instead | ||
literals.scala:65: warning: Lowercase el for long is not recommended because it is easy to confuse with numeral 1; use uppercase L instead | ||
check_success("1.asInstanceOf[Long] == 1l", 1.asInstanceOf[Long], 1l) | ||
^ | ||
literals.scala:107: warning: Lowercase el for long is not recommended because it is easy to confuse with numeral 1; use uppercase L instead | ||
literals.scala:112: warning: Lowercase el for long is not recommended because it is easy to confuse with numeral 1; use uppercase L instead | ||
check_success("1l.asInstanceOf[Double] == 1.0", 1l.asInstanceOf[Double], 1.0) | ||
^ |