File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
compiler/src/dotty/tools/dotc/ast Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -408,8 +408,8 @@ object desugar {
408
408
case _ => false
409
409
}
410
410
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
413
413
case _ => false
414
414
}
415
415
Original file line number Diff line number Diff line change @@ -447,7 +447,7 @@ object untpd extends Trees.Instance[Untyped] with UntypedTreeInfo {
447
447
TypedSplice (tpd.ref(tp))
448
448
449
449
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)
451
451
def scalaAnnotationDot (name : Name )(using SourceFile ): Select = Select (scalaDot(nme.annotation), name)
452
452
def scalaUnit (implicit src : SourceFile ): Select = scalaDot(tpnme.Unit )
453
453
def scalaAny (implicit src : SourceFile ): Select = scalaDot(tpnme.Any )
You can’t perform that action at this time.
0 commit comments