summaryrefslogtreecommitdiff
path: root/test/files/neg/forgot-interpolator.check
Commit message (Collapse)AuthorAgeFilesLines
* Some refinement of -Xlint interpolation warning.Paul Phillips2013-09-271-1/+10
| | | | | | | I had covered a few more cases working on this recently. The warnings in several more cases involving polymorphism, currying, and selects vs. idents receive more refined handling.
* SI-7848 Xlint no warn on $sym with paramsSom Snytt2013-09-231-12/+9
| | | | | | | | | | | | 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 no warn on $sym with paramsSom Snytt2013-09-181-1/+16
| | | | This idea brought to you by retronym.
* SI-7848 Xlint says what looks interpolatedSom Snytt2013-09-171-2/+2
| | | | | | | | | | | | | 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.
* Warn about forgotten string interpolators.Paul Phillips2013-03-121-0/+9
In the compiler sources this arrives with a number of false positives, because we frequently work with strings containing $foo where foo is an in-scope identifier. I think in normal source code this will be less of a problem, or none at all; but to be conservative the warning is born under -Xlint.