Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | SI-9839 Avoid crash in macro import selector pos | Som Snytt | 2017-03-11 | 1 | -1/+4 |
| | | | | | | Ignore bad name pos. Also delete unused val. Thanks, `-Ywarn-unused`! | ||||
* | SI-9383 Improved unused import warning | Som Snytt | 2015-07-08 | 1 | -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 -Xlint | Jason Zaugg | 2014-02-17 | 1 | -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 Vigdorchik | 2013-03-05 | 1 | -3/+3 |
| | | | | imports to Analyzer. This allows the check to be used in the IDE. | ||||
* | Warn about unused imports. | Paul Phillips | 2012-11-07 | 1 | -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. |