We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent db11aaa commit b6bb034Copy full SHA for b6bb034
src/dotty/tools/dotc/transform/ClassTags.scala
@@ -32,8 +32,8 @@ class ClassTags extends MiniPhaseTransform with IdentityDenotTransformer { thisT
32
33
override def prepareForUnit(tree: tpd.Tree)(implicit ctx: Context): TreeTransform = {
34
val predefClass = defn.DottyPredefModule.moduleClass.asClass
35
- classTagCache = ctx.requiredMethod(predefClass, names.classTag)
36
- typeTagCache = ctx.requiredMethod(predefClass, names.typeTag)
+ classTagCache = ctx.requiredMethod(predefClass, nme.classTag)
+ typeTagCache = ctx.requiredMethod(predefClass, nme.typeTag)
37
scala2ClassTagModule = ctx.requiredModule("scala.reflect.ClassTag")
38
this
39
}
0 commit comments