Skip to content

Commit 9426bd8

Browse files
committed
Rename nme.scala_ to nme.scala
1 parent 278a822 commit 9426bd8

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

compiler/src/dotty/tools/dotc/ast/Desugar.scala

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -408,8 +408,8 @@ object desugar {
408408
case _ => false
409409
}
410410
def isScala(tree: Tree): Boolean = tree match {
411-
case Ident(nme.scala_) => true
412-
case Select(Ident(nme.ROOTPKG), nme.scala_) => true
411+
case Ident(nme.scala) => true
412+
case Select(Ident(nme.ROOTPKG), nme.scala) => true
413413
case _ => false
414414
}
415415

compiler/src/dotty/tools/dotc/ast/untpd.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -447,7 +447,7 @@ object untpd extends Trees.Instance[Untyped] with UntypedTreeInfo {
447447
TypedSplice(tpd.ref(tp))
448448

449449
def rootDot(name: Name)(implicit src: SourceFile): Select = Select(Ident(nme.ROOTPKG), name)
450-
def scalaDot(name: Name)(implicit src: SourceFile): Select = Select(rootDot(nme.scala_), name)
450+
def scalaDot(name: Name)(implicit src: SourceFile): Select = Select(rootDot(nme.scala), name)
451451
def scalaAnnotationDot(name: Name)(using SourceFile): Select = Select(scalaDot(nme.annotation), name)
452452
def scalaUnit(implicit src: SourceFile): Select = scalaDot(tpnme.Unit)
453453
def scalaAny(implicit src: SourceFile): Select = scalaDot(tpnme.Any)

0 commit comments

Comments
 (0)