Skip to content

Commit

Permalink
Add untpd.ImportSelector#isUnimport
Browse files Browse the repository at this point in the history
  • Loading branch information
WojciechMazur committed Jun 23, 2024
1 parent b2e31fe commit c613076
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions compiler/src/dotty/tools/dotc/ast/untpd.scala
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,8 @@ object untpd extends Trees.Instance[Untyped] with UntypedTreeInfo {
val rename: TermName = renamed match
case Ident(rename: TermName) => rename
case _ => name

def isUnimport = rename == nme.WILDCARD
}

case class Number(digits: String, kind: NumberKind)(implicit @constructorOnly src: SourceFile) extends TermTree
Expand Down

0 comments on commit c613076

Please sign in to comment.