Skip to content

"unsued pattern varibale" compiler warning #411

@lefou

Description

@lefou

In Mill test suite, I see a lot of these warning originating in utest.Tests.

18355] [warn] libs/scalalib/test/src/mill/scalalib/HelloWorldTests.scala:120:22
18355]   def tests: Tests = Tests {
18355]                      ^^^^^^^
18355] unused pattern variable
// HelloWorkdTests.scala
...:
 13: import utest.*
 14:
 15: object HelloWorldTests extends TestSuite {
...:
120:   def tests: Tests = Tests {
...:
305: }

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions