Created
February 29, 2016 17:51
-
-
Save smarter/6a7a6d840ce0f37b1d12 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cannot take signature of => B.this.Foo | |
exception while transforming () extends Object() with A {} of class class dotty.tools.dotc.ast.Trees$Template # 93 | |
exception while transforming class B() extends Object() with A {} of class class dotty.tools.dotc.ast.Trees$TypeDef # 94 | |
exception while transforming package <empty> { | |
<trait> trait A() extends Object { | |
private type Foo = Int | |
def foo: A.this.Foo = 1 | |
} | |
class B() extends Object() with A {} | |
} of class class dotty.tools.dotc.ast.Trees$PackageDef # 95 | |
exception occurred while compiling Test.scala | |
Exception in thread "main" dotty.tools.dotc.core.Types$MissingType: cannot resolve reference to type B(B.this).Foo | |
the classfile defining the type might be missing from the classpath | |
at dotty.tools.dotc.core.TypeErasure.dotty$tools$dotc$core$TypeErasure$$sigName(TypeErasure.scala:458) | |
at dotty.tools.dotc.core.TypeErasure$.sigName(TypeErasure.scala:136) | |
at dotty.tools.dotc.core.Signature$.apply(Signature.scala:76) | |
at dotty.tools.dotc.core.Types$MethodicType$class.resultSignature(Types.scala:2185) | |
at dotty.tools.dotc.core.Types$ExprType.resultSignature(Types.scala:2376) | |
at dotty.tools.dotc.core.Types$ExprType.computeSignature(Types.scala:2380) | |
at dotty.tools.dotc.core.Types$MethodicType$class.signature(Types.scala:2195) | |
at dotty.tools.dotc.core.Types$ExprType.signature(Types.scala:2376) | |
at dotty.tools.dotc.core.Denotations$SingleDenotation.signature(Denotations.scala:465) | |
at dotty.tools.dotc.core.SymDenotations$SymDenotation.termRefWithSig(SymDenotations.scala:1085) | |
at dotty.tools.dotc.typer.TypeAssigner$$anonfun$assignType$3.apply(TypeAssigner.scala:460) | |
at dotty.tools.dotc.typer.TypeAssigner$$anonfun$assignType$3.apply(TypeAssigner.scala:460) | |
at dotty.tools.dotc.core.Types$Type.orElse(Types.scala:90) | |
at dotty.tools.dotc.typer.TypeAssigner$class.assignType(TypeAssigner.scala:460) | |
at dotty.tools.dotc.typer.Typer.assignType(Typer.scala:58) | |
at dotty.tools.dotc.ast.tpd$.polyDefDef(tpd.scala:208) | |
at dotty.tools.dotc.transform.ResolveSuper$$anonfun$dotty$tools$dotc$transform$ResolveSuper$$methodOverrides$1$2.apply(ResolveSuper.scala:66) | |
at dotty.tools.dotc.transform.ResolveSuper$$anonfun$dotty$tools$dotc$transform$ResolveSuper$$methodOverrides$1$2.apply(ResolveSuper.scala:65) | |
at scala.collection.TraversableLike$WithFilter$$anonfun$map$2.apply(TraversableLike.scala:728) | |
at scala.collection.immutable.List.foreach(List.scala:381) | |
at scala.collection.TraversableLike$WithFilter.map(TraversableLike.scala:727) | |
at dotty.tools.dotc.transform.ResolveSuper.dotty$tools$dotc$transform$ResolveSuper$$methodOverrides$1(ResolveSuper.scala:65) | |
at dotty.tools.dotc.transform.ResolveSuper$$anonfun$1.apply(ResolveSuper.scala:68) | |
at dotty.tools.dotc.transform.ResolveSuper$$anonfun$1.apply(ResolveSuper.scala:68) | |
at scala.collection.immutable.List.flatMap(List.scala:327) | |
at dotty.tools.dotc.transform.ResolveSuper.transformTemplate(ResolveSuper.scala:68) | |
at dotty.tools.dotc.transform.ResolveSuper.transformTemplate(ResolveSuper.scala:47) | |
at dotty.tools.dotc.transform.TreeTransforms$TreeTransformer.goTemplate(TreeTransform.scala:867) | |
at dotty.tools.dotc.transform.TreeTransforms$TreeTransformer.transformUnnamed(TreeTransform.scala:1184) | |
at dotty.tools.dotc.transform.TreeTransforms$TreeTransformer$$anonfun$transform$2.apply(TreeTransform.scala:1213) | |
at dotty.tools.dotc.transform.TreeTransforms$TreeTransformer$$anonfun$transform$2.apply(TreeTransform.scala:1205) | |
at dotty.tools.dotc.reporting.Reporting$class.traceIndented(Reporter.scala:131) | |
at dotty.tools.dotc.core.Contexts$Context.traceIndented(Contexts.scala:54) | |
at dotty.tools.dotc.transform.TreeTransforms$TreeTransformer.transform(TreeTransform.scala:1204) | |
at dotty.tools.dotc.transform.TreeTransforms$TreeTransformer.transformNamed(TreeTransform.scala:1011) | |
at dotty.tools.dotc.transform.TreeTransforms$TreeTransformer$$anonfun$transform$2.apply(TreeTransform.scala:1212) | |
at dotty.tools.dotc.transform.TreeTransforms$TreeTransformer$$anonfun$transform$2.apply(TreeTransform.scala:1205) | |
at dotty.tools.dotc.reporting.Reporting$class.traceIndented(Reporter.scala:131) | |
at dotty.tools.dotc.core.Contexts$Context.traceIndented(Contexts.scala:54) | |
at dotty.tools.dotc.transform.TreeTransforms$TreeTransformer.transform(TreeTransform.scala:1204) | |
at dotty.tools.dotc.transform.TreeTransforms$TreeTransformer.dotty$tools$dotc$transform$TreeTransforms$TreeTransformer$$transformStat$1(TreeTransform.scala:1238) | |
at dotty.tools.dotc.transform.TreeTransforms$TreeTransformer$$anonfun$38.apply(TreeTransform.scala:1242) | |
at dotty.tools.dotc.transform.TreeTransforms$TreeTransformer$$anonfun$38.apply(TreeTransform.scala:1242) | |
at dotty.tools.dotc.core.Decorators$ListDecorator$.loop$1(Decorators.scala:51) | |
at dotty.tools.dotc.core.Decorators$ListDecorator$.mapconserve$extension(Decorators.scala:67) | |
at dotty.tools.dotc.transform.TreeTransforms$TreeTransformer.transformStats(TreeTransform.scala:1242) | |
at dotty.tools.dotc.transform.TreeTransforms$TreeTransformer.transformUnnamed(TreeTransform.scala:1192) | |
at dotty.tools.dotc.transform.TreeTransforms$TreeTransformer$$anonfun$transform$2.apply(TreeTransform.scala:1213) | |
at dotty.tools.dotc.transform.TreeTransforms$TreeTransformer$$anonfun$transform$2.apply(TreeTransform.scala:1205) | |
at dotty.tools.dotc.reporting.Reporting$class.traceIndented(Reporter.scala:131) | |
at dotty.tools.dotc.core.Contexts$Context.traceIndented(Contexts.scala:54) | |
at dotty.tools.dotc.transform.TreeTransforms$TreeTransformer.transform(TreeTransform.scala:1204) | |
at dotty.tools.dotc.transform.TreeTransforms$TreeTransformer.macroTransform(TreeTransform.scala:563) | |
at dotty.tools.dotc.transform.TreeTransforms$TreeTransformer.run(TreeTransform.scala:480) | |
at dotty.tools.dotc.core.Phases$Phase$$anonfun$runOn$1.apply(Phases.scala:272) | |
at dotty.tools.dotc.core.Phases$Phase$$anonfun$runOn$1.apply(Phases.scala:270) | |
at scala.collection.immutable.List.map(List.scala:273) | |
at dotty.tools.dotc.core.Phases$Phase$class.runOn(Phases.scala:270) | |
at dotty.tools.dotc.transform.TreeTransforms$TreeTransformer.runOn(TreeTransform.scala:474) | |
at dotty.tools.dotc.Run$$anonfun$compileUnits$1$$anonfun$apply$mcV$sp$1.apply(Run.scala:60) | |
at dotty.tools.dotc.Run$$anonfun$compileUnits$1$$anonfun$apply$mcV$sp$1.apply(Run.scala:57) | |
at scala.collection.IndexedSeqOptimized$class.foreach(IndexedSeqOptimized.scala:33) | |
at scala.collection.mutable.ArrayOps$ofRef.foreach(ArrayOps.scala:186) | |
at dotty.tools.dotc.Run$$anonfun$compileUnits$1.apply$mcV$sp(Run.scala:57) | |
at dotty.tools.dotc.Run$$anonfun$compileUnits$1.apply(Run.scala:52) | |
at dotty.tools.dotc.Run$$anonfun$compileUnits$1.apply(Run.scala:52) | |
at dotty.tools.dotc.util.Stats$.monitorHeartBeat(Stats.scala:69) | |
at dotty.tools.dotc.Run.compileUnits(Run.scala:52) | |
at dotty.tools.dotc.Run.compileSources(Run.scala:49) | |
at dotty.tools.dotc.Run.compile(Run.scala:33) | |
at dotty.tools.dotc.Driver.doCompile(Driver.scala:28) | |
at dotty.tools.dotc.Driver.process(Driver.scala:126) | |
at dotty.tools.dotc.Driver.process(Driver.scala:95) | |
at dotty.tools.dotc.Driver.process(Driver.scala:107) | |
at dotty.tools.dotc.Driver.main(Driver.scala:134) | |
at dotty.tools.dotc.Main.main(Main.scala) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment