summaryrefslogtreecommitdiff
path: root/test/files/neg/t7848-interp-warn.scala
Commit message (Collapse)AuthorAgeFilesLines
* SI-9127 Xlint doesn't think spaces are significantSom Snytt2015-02-211-1/+1
| | | | | | | | | | | For purposes of warning about missing interpolators, such as `"$greeting"` when the intended code was `s"$greeting"`, spaces are no longer significant. The heuristic was previously intended to allow compileresque strings, where the dollar sign is a common prefix. Currently, the Xlint warning can be selectively disabled.
* SI-7848 Xlint no warn on $sym with paramsSom Snytt2013-09-231-0/+5
| | | | | | | | | | | | 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.
* SI-7848 Xlint says what looks interpolatedSom Snytt2013-09-171-0/+13
The motivating use case was an Expecty debug string getting flagged for `$eq`. The test case demonstrates a different bug, in which the position of the literal tree is changed when typer gets rid of the unused local, so that when the tree is re-typed in erasure, a second, spurious warning is emitted at the start of the method. Specifically, the second warning is not suppressed because of the different position.