Skip to content

No warning for unused "masking" import selector #23758

@som-snytt

Description

@som-snytt

Minimized code

//> using scala 3.7.2
//> using options -Wunused:imports

import scala.util.Try as _

@main def test = println:
  "hello, world"

Output

No warning.

Expectation

Warning.

Metadata

Metadata

Assignees

No one assigned

    Labels

    itype:bugstat:needs triageEvery issue needs to have an "area" and "itype" label

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions