summaryrefslogtreecommitdiff
path: root/test/files/neg/warn-unused-imports.check
Commit message (Collapse)AuthorAgeFilesLines
* SI-9839 Avoid crash in macro import selector posSom Snytt2017-03-111-1/+4
| | | | | | Ignore bad name pos. Also delete unused val. Thanks, `-Ywarn-unused`!
* SI-9383 Improved unused import warningSom Snytt2015-07-081-12/+34
| | | | | | | Previously, implicit search would mark every import it touched as a lookup. Instead, let subsequent type check perform the lookup.
* SI-7707 SI-7712 Exclude unused warnings from -XlintJason Zaugg2014-02-171-12/+1
| | | | | | | | | | | | | | | | | | | | | | Experience building open source projects like Specs that use `-Xlint` suggests that this warning is too noisy to lump in with the others. We are lacking in more fine-grained control of these things, so simply turning of `-Xlint` in favour of its underlying `-Y` options ends up *losing* some other important warnings that are predicated directly on `-Xlint`. Furthermore, bug reports against M8, SI-7707 SI-7712, show that unused private/local warnings, while far less noisy, are still in need of polish. This commit moves these warnings to a pair of new -Y options, neither of which is part of `-Xlint`.. Let's ask people to opt in for 2.11, and as it stabilizes, we can consider adding it to Xlint (or the desirable evolution of that) in the next release.
* Since the problem in SI-6758 is fixed, it's ok to move checking for unused ↵Eugene Vigdorchik2013-03-051-3/+3
| | | | imports to Analyzer. This allows the check to be used in the IDE.
* Warn about unused imports.Paul Phillips2012-11-071-0/+44
Hidden behind -Xlint as usual. This commit also includes further simplification of the symbol lookup logic which I unearthed on the way to reporting unused imports. Plus unusually comprehensive documentation of same.