summaryrefslogtreecommitdiff
path: root/test/files/neg/t2462b.check
diff options
context:
space:
mode:
authorSom Snytt <som.snytt@gmail.com>2013-09-18 18:06:59 -0700
committerSom Snytt <som.snytt@gmail.com>2013-09-23 13:23:24 -0700
commit69ce27434e07c8dc215490256fe51622d768dd7e (patch)
tree827d13297d325a51af6f16ed856734a2e1583a39 /test/files/neg/t2462b.check
parent7d570b54c3c895bc8948adeca2e463d135e38feb (diff)
downloadscala-69ce27434e07c8dc215490256fe51622d768dd7e.tar.gz
scala-69ce27434e07c8dc215490256fe51622d768dd7e.tar.bz2
scala-69ce27434e07c8dc215490256fe51622d768dd7e.zip
SI-7848 Xlint no warn on $sym with params
This idea brought to you by retronym. Also improve implicitNotFound detection at typer; and avoid checking the standard interpolation expression for cases like s"some $$x". Some minor refactorings of implicitNotFound strings. The intersobralator allows extra spaces, i.e., trims.
Diffstat (limited to 'test/files/neg/t2462b.check')
-rw-r--r--test/files/neg/t2462b.check5
1 files changed, 1 insertions, 4 deletions
diff --git a/test/files/neg/t2462b.check b/test/files/neg/t2462b.check
index bc0d9aa469..b3b8007a93 100644
--- a/test/files/neg/t2462b.check
+++ b/test/files/neg/t2462b.check
@@ -6,9 +6,6 @@ t2462b.scala:9: warning: Invalid implicitNotFound message for trait Meh2 in pack
The type parameter Elem referenced in the message of the @implicitNotFound annotation is not defined by trait Meh2.
trait Meh2[-From, +To]
^
-t2462b.scala:12: error: overriding method x in class thankyoupartest of type => Int;
- method x needs `override' modifier
-class testmustfail extends thankyoupartest { def x = 43 }
- ^
+error: No warnings can be incurred under -Xfatal-warnings.
two warnings found
one error found