diff options
author | Som Snytt <som.snytt@gmail.com> | 2013-09-18 18:06:59 -0700 |
---|---|---|
committer | Som Snytt <som.snytt@gmail.com> | 2013-09-23 13:23:24 -0700 |
commit | 69ce27434e07c8dc215490256fe51622d768dd7e (patch) | |
tree | 827d13297d325a51af6f16ed856734a2e1583a39 /test/files/neg/t2462b.scala | |
parent | 7d570b54c3c895bc8948adeca2e463d135e38feb (diff) | |
download | scala-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.scala')
-rw-r--r-- | test/files/neg/t2462b.scala | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/test/files/neg/t2462b.scala b/test/files/neg/t2462b.scala index 7a1389cc8e..576db4bd3f 100644 --- a/test/files/neg/t2462b.scala +++ b/test/files/neg/t2462b.scala @@ -7,6 +7,3 @@ trait Meh[-From, +To] @implicitNotFound(msg = "Cannot construct a collection of type ${To} ${Elem}.") trait Meh2[-From, +To] - -class thankyoupartest { def x = 42 } -class testmustfail extends thankyoupartest { def x = 43 } |