From 69ce27434e07c8dc215490256fe51622d768dd7e Mon Sep 17 00:00:00 2001 From: Som Snytt Date: Wed, 18 Sep 2013 18:06:59 -0700 Subject: 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. --- test/files/neg/t2462b.check | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'test/files/neg/t2462b.check') 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 -- cgit v1.2.3