-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Closed
Labels
area:lintingLinting warnings enabled with -W or -XlintLinting warnings enabled with -W or -Xlintitype:bug
Milestone
Description
Compiler version
3.7
Minimized code
-- [E198] Unused Symbol Warning: case-using.scala:4:31 -------------------------
4 |case class K(i: Int)(using val ctx: Ctx)
| ^^^
| unused implicit parameter
-- [E198] Unused Symbol Warning: case-using.scala:5:30 -------------------------
5 |class C(val i: Int)(using val ctx: Ctx)
| ^^^
| unused implicit parameter
2 warnings found
Output
// TODO add output here
Expectation
Don't warn for public member; it happens to be supplied implicitly.
Metadata
Metadata
Assignees
Labels
area:lintingLinting warnings enabled with -W or -XlintLinting warnings enabled with -W or -Xlintitype:bug