Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | SD-363 Xlint no warn deprecated params, defaults | Som Snytt | 2017-04-06 | 1 | -0/+5 |
| | | | | | | | Deprecation is an escape hatch for unused params. Since default arg getters receive values of previous args, don't warn when they are unused. | ||||
* | SI-8040 No warn DummyImplicit | Som Snytt | 2017-03-11 | 1 | -0/+2 |
| | | | | It's just a dummy. | ||||
* | SI-8040 Xlint enables unused warnings | Som Snytt | 2017-03-11 | 1 | -0/+6 |
`-Ywarn-unused-import` is deprecated in favor of `-Ywarn-unused:imports`. `-Xlint` does not yet enable `-Ywarn-unused:patvars`. But the default for `-Ywarn-unused` is everything, including `patvars`. So `-Xlint:unused` is the populist option, `-Ywarn-unused` more exclusive. Tests are fixed by narrowing scope of `-Xlint` when specified. |