Skip to content

Adding GenTraversableLike to whitelist breaks compilation of GenMapLike #937

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
DarkDimius opened this issue Nov 9, 2015 · 2 comments
Closed

Comments

@DarkDimius
Copy link
Contributor

./scala-scala/src/library/scala/collection/GenMapLike.scala:119: error: forall is not a member of scala.collection.GenMapLike[A, B, Repr](GenMapLike.this)
        this forall {
        ^
DarkDimius added a commit to dotty-staging/dotty that referenced this issue Nov 9, 2015
@DarkDimius
Copy link
Contributor Author

after change to definitions this issue still presists, but has a different manifestation:

java.lang.IllegalArgumentException: requirement failed
    at scala.Predef$.require(Predef.scala:207)
    at dotty.tools.dotc.core.SymDenotations$ClassDenotation.enterNoReplace(SymDenotations.scala:1446)
    at dotty.tools.dotc.core.SymDenotations$ClassDenotation.enter(SymDenotations.scala:1437)
    at dotty.tools.dotc.core.TypeOps$class.dotty$tools$dotc$core$TypeOps$$enterArgBinding(TypeOps.scala:393)
    at dotty.tools.dotc.core.TypeOps$$anonfun$normalizeToClassRefs$1.apply(TypeOps.scala:494)
    at dotty.tools.dotc.core.TypeOps$$anonfun$normalizeToClassRefs$1.apply(TypeOps.scala:491)
    at dotty.tools.dotc.util.SimpleMap$Map3.foreachBinding(SimpleMap.scala:103)
    at dotty.tools.dotc.core.TypeOps$class.normalizeToClassRefs(TypeOps.scala:491)
    at dotty.tools.dotc.core.Contexts$Context.normalizeToClassRefs(Contexts.scala:53)
    at dotty.tools.dotc.typer.Namer$ClassCompleter.completeInCreationContext(Namer.scala:611)
    at dotty.tools.dotc.typer.Namer$Completer.complete(Namer.scala:516)
    at dotty.tools.dotc.core.SymDenotations$SymDenotation.completeFrom(SymDenotations.scala:175)
    at dotty.tools.dotc.core.SymDenotations$SymDenotation.info(SymDenotations.scala:152)
    at dotty.tools.dotc.core.Types$NamedType.info(Types.scala:1481)
    at dotty.tools.dotc.core.Types$TypeRef.underlying(Types.scala:1592)
    at dotty.tools.dotc.core.Types$Type.decls(Types.scala:361)
    at dotty.tools.dotc.core.TypeOps$$anonfun$forwardRefs$1$1.apply(TypeOps.scala:465)
    at dotty.tools.dotc.core.TypeOps$$anonfun$forwardRefs$1$1.apply(TypeOps.scala:464)
    at scala.collection.immutable.List.foreach(List.scala:381)
    at dotty.tools.dotc.core.TypeOps$class.forwardRefs$1(TypeOps.scala:464)
    at dotty.tools.dotc.core.TypeOps$$anonfun$normalizeToClassRefs$2.apply(TypeOps.scala:499)
    at dotty.tools.dotc.core.TypeOps$$anonfun$normalizeToClassRefs$2.apply(TypeOps.scala:498)
    at dotty.tools.dotc.util.SimpleMap$MapMore.foreachBinding(SimpleMap.scala:218)
    at dotty.tools.dotc.core.TypeOps$class.normalizeToClassRefs(TypeOps.scala:498)
    at dotty.tools.dotc.core.Contexts$Context.normalizeToClassRefs(Contexts.scala:53)
    at dotty.tools.dotc.core.unpickleScala2.Scala2Unpickler$.setClassInfo(Scala2Unpickler.scala:108)
    at dotty.tools.dotc.core.unpickleScala2.Scala2Unpickler$LocalUnpickler.dotty$tools$dotc$core$unpickleScala2$Scala2Unpickler$LocalUnpickler$$parseToCompletion$1(Scala2Unpickler.scala:561)
    at dotty.tools.dotc.core.unpickleScala2.Scala2Unpickler$LocalUnpickler$$anonfun$complete$1.apply$mcV$sp(Scala2Unpickler.scala:587)
    at dotty.tools.dotc.core.unpickleScala2.Scala2Unpickler$LocalUnpickler$$anonfun$complete$1.apply(Scala2Unpickler.scala:587)
    at dotty.tools.dotc.core.unpickleScala2.Scala2Unpickler$LocalUnpickler$$anonfun$complete$1.apply(Scala2Unpickler.scala:587)
    at dotty.tools.dotc.core.unpickleScala2.Scala2Unpickler.atReadPos(Scala2Unpickler.scala:334)
    at dotty.tools.dotc.core.unpickleScala2.Scala2Unpickler$LocalUnpickler.complete(Scala2Unpickler.scala:586)
    at dotty.tools.dotc.core.SymDenotations$SymDenotation.completeFrom(SymDenotations.scala:175)
    at dotty.tools.dotc.core.SymDenotations$SymDenotation.info(SymDenotations.scala:152)
    at dotty.tools.dotc.core.SymDenotations$SymDenotation.ensureCompleted(SymDenotations.scala:277)
    at dotty.tools.dotc.typer.TypeAssigner$class.reallyExists(TypeAssigner.scala:131)
    at dotty.tools.dotc.typer.Typer.reallyExists(Typer.scala:57)
    at dotty.tools.dotc.typer.Typer$$anonfun$typedIdent$1.qualifies$1(Typer.scala:111)
    at dotty.tools.dotc.typer.Typer$$anonfun$typedIdent$1.findRef$1(Typer.scala:218)
    at dotty.tools.dotc.typer.Typer$$anonfun$typedIdent$1.apply(Typer.scala:264)
    at dotty.tools.dotc.typer.Typer$$anonfun$typedIdent$1.apply(Typer.scala:78)
    at dotty.tools.dotc.util.Stats$.track(Stats.scala:36)
    at dotty.tools.dotc.typer.Typer.typedIdent(Typer.scala:78)
    at dotty.tools.dotc.typer.Typer.typedNamed$1(Typer.scala:1080)
    at dotty.tools.dotc.typer.Typer.typedUnadapted(Typer.scala:1139)
    at dotty.tools.dotc.typer.Typer$$anonfun$typed$2.apply(Typer.scala:1151)
    at dotty.tools.dotc.typer.Typer$$anonfun$typed$2.apply(Typer.scala:1149)
    at dotty.tools.dotc.reporting.Reporting$class.traceIndented(Reporter.scala:154)
    at dotty.tools.dotc.core.Contexts$Context.traceIndented(Contexts.scala:53)
    at dotty.tools.dotc.typer.Typer.typed(Typer.scala:1149)
    at dotty.tools.dotc.typer.Typer$$anonfun$typedAppliedTypeTree$1.apply(Typer.scala:838)
    at dotty.tools.dotc.typer.Typer$$anonfun$typedAppliedTypeTree$1.apply(Typer.scala:837)
    at dotty.tools.dotc.util.Stats$.track(Stats.scala:36)
    at dotty.tools.dotc.typer.Typer.typedAppliedTypeTree(Typer.scala:837)
    at dotty.tools.dotc.typer.Typer.typedUnnamed$1(Typer.scala:1125)
    at dotty.tools.dotc.typer.Typer.typedUnadapted(Typer.scala:1141)
    at dotty.tools.dotc.typer.Typer$$anonfun$typed$2.apply(Typer.scala:1151)
    at dotty.tools.dotc.typer.Typer$$anonfun$typed$2.apply(Typer.scala:1149)
    at dotty.tools.dotc.reporting.Reporting$class.traceIndented(Reporter.scala:154)
    at dotty.tools.dotc.core.Contexts$Context.traceIndented(Contexts.scala:53)
    at dotty.tools.dotc.typer.Typer.typed(Typer.scala:1149)
    at dotty.tools.dotc.typer.Namer.typedAheadImpl(Namer.scala:630)
    at dotty.tools.dotc.typer.Namer.typedAheadType(Namer.scala:637)
    at dotty.tools.dotc.typer.Namer$ClassCompleter.parentType$1(Namer.scala:562)
    at dotty.tools.dotc.typer.Namer$ClassCompleter.dotty$tools$dotc$typer$Namer$ClassCompleter$$checkedParentType$1(Namer.scala:576)
    at dotty.tools.dotc.typer.Namer$ClassCompleter$$anonfun$10.apply(Namer.scala:610)
    at dotty.tools.dotc.typer.Namer$ClassCompleter$$anonfun$10.apply(Namer.scala:610)
    at scala.collection.immutable.List.map(List.scala:277)
    at dotty.tools.dotc.typer.Namer$ClassCompleter.completeInCreationContext(Namer.scala:610)
    at dotty.tools.dotc.typer.Namer$Completer.complete(Namer.scala:516)
    at dotty.tools.dotc.core.SymDenotations$SymDenotation.completeFrom(SymDenotations.scala:175)
    at dotty.tools.dotc.core.SymDenotations$SymDenotation.info(SymDenotations.scala:152)
    at dotty.tools.dotc.core.Types$NamedType.info(Types.scala:1481)
    at dotty.tools.dotc.core.Types$TypeRef.underlying(Types.scala:1592)
    at dotty.tools.dotc.core.Types$Type.decls(Types.scala:361)
    at dotty.tools.dotc.core.TypeOps$$anonfun$forwardRefs$1$1.apply(TypeOps.scala:465)
    at dotty.tools.dotc.core.TypeOps$$anonfun$forwardRefs$1$1.apply(TypeOps.scala:464)
    at scala.collection.immutable.List.foreach(List.scala:381)
    at dotty.tools.dotc.core.TypeOps$class.forwardRefs$1(TypeOps.scala:464)
    at dotty.tools.dotc.core.TypeOps$$anonfun$normalizeToClassRefs$2.apply(TypeOps.scala:499)
    at dotty.tools.dotc.core.TypeOps$$anonfun$normalizeToClassRefs$2.apply(TypeOps.scala:498)
    at dotty.tools.dotc.util.SimpleMap$MapMore.foreachBinding(SimpleMap.scala:218)
    at dotty.tools.dotc.core.TypeOps$class.normalizeToClassRefs(TypeOps.scala:498)
    at dotty.tools.dotc.core.Contexts$Context.normalizeToClassRefs(Contexts.scala:53)
    at dotty.tools.dotc.core.unpickleScala2.Scala2Unpickler$.setClassInfo(Scala2Unpickler.scala:108)
    at dotty.tools.dotc.core.unpickleScala2.Scala2Unpickler$LocalUnpickler.dotty$tools$dotc$core$unpickleScala2$Scala2Unpickler$LocalUnpickler$$parseToCompletion$1(Scala2Unpickler.scala:561)
    at dotty.tools.dotc.core.unpickleScala2.Scala2Unpickler$LocalUnpickler$$anonfun$complete$1.apply$mcV$sp(Scala2Unpickler.scala:587)
    at dotty.tools.dotc.core.unpickleScala2.Scala2Unpickler$LocalUnpickler$$anonfun$complete$1.apply(Scala2Unpickler.scala:587)
    at dotty.tools.dotc.core.unpickleScala2.Scala2Unpickler$LocalUnpickler$$anonfun$complete$1.apply(Scala2Unpickler.scala:587)
    at dotty.tools.dotc.core.unpickleScala2.Scala2Unpickler.atReadPos(Scala2Unpickler.scala:334)
    at dotty.tools.dotc.core.unpickleScala2.Scala2Unpickler$LocalUnpickler.complete(Scala2Unpickler.scala:586)
    at dotty.tools.dotc.core.SymDenotations$SymDenotation.completeFrom(SymDenotations.scala:175)
    at dotty.tools.dotc.core.SymDenotations$SymDenotation.info(SymDenotations.scala:152)
    at dotty.tools.dotc.core.SymDenotations$SymDenotation.ensureCompleted(SymDenotations.scala:277)
    at dotty.tools.dotc.typer.TypeAssigner$class.reallyExists(TypeAssigner.scala:131)
    at dotty.tools.dotc.typer.Typer.reallyExists(Typer.scala:57)
    at dotty.tools.dotc.typer.Typer$$anonfun$typedIdent$1.qualifies$1(Typer.scala:111)
    at dotty.tools.dotc.typer.Typer$$anonfun$typedIdent$1.findRef$1(Typer.scala:218)
    at dotty.tools.dotc.typer.Typer$$anonfun$typedIdent$1.apply(Typer.scala:264)
    at dotty.tools.dotc.typer.Typer$$anonfun$typedIdent$1.apply(Typer.scala:78)
    at dotty.tools.dotc.util.Stats$.track(Stats.scala:36)
    at dotty.tools.dotc.typer.Typer.typedIdent(Typer.scala:78)
    at dotty.tools.dotc.typer.Typer.typedNamed$1(Typer.scala:1080)
    at dotty.tools.dotc.typer.Typer.typedUnadapted(Typer.scala:1139)
    at dotty.tools.dotc.typer.Typer$$anonfun$typed$2.apply(Typer.scala:1151)
    at dotty.tools.dotc.typer.Typer$$anonfun$typed$2.apply(Typer.scala:1149)
    at dotty.tools.dotc.reporting.Reporting$class.traceIndented(Reporter.scala:154)
    at dotty.tools.dotc.core.Contexts$Context.traceIndented(Contexts.scala:53)
    at dotty.tools.dotc.typer.Typer.typed(Typer.scala:1149)
    at dotty.tools.dotc.typer.Typer$$anonfun$typedAppliedTypeTree$1.apply(Typer.scala:838)
    at dotty.tools.dotc.typer.Typer$$anonfun$typedAppliedTypeTree$1.apply(Typer.scala:837)
    at dotty.tools.dotc.util.Stats$.track(Stats.scala:36)
    at dotty.tools.dotc.typer.Typer.typedAppliedTypeTree(Typer.scala:837)
    at dotty.tools.dotc.typer.Typer.typedUnnamed$1(Typer.scala:1125)
    at dotty.tools.dotc.typer.Typer.typedUnadapted(Typer.scala:1141)
    at dotty.tools.dotc.typer.Typer$$anonfun$typed$2.apply(Typer.scala:1151)
    at dotty.tools.dotc.typer.Typer$$anonfun$typed$2.apply(Typer.scala:1149)
    at dotty.tools.dotc.reporting.Reporting$class.traceIndented(Reporter.scala:154)
    at dotty.tools.dotc.core.Contexts$Context.traceIndented(Contexts.scala:53)
    at dotty.tools.dotc.typer.Typer.typed(Typer.scala:1149)
    at dotty.tools.dotc.typer.Namer.typedAheadImpl(Namer.scala:630)
    at dotty.tools.dotc.typer.Namer.typedAheadType(Namer.scala:637)
    at dotty.tools.dotc.typer.Namer$ClassCompleter.parentType$1(Namer.scala:562)
    at dotty.tools.dotc.typer.Namer$ClassCompleter.dotty$tools$dotc$typer$Namer$ClassCompleter$$checkedParentType$1(Namer.scala:576)
    at dotty.tools.dotc.typer.Namer$ClassCompleter$$anonfun$10.apply(Namer.scala:610)
    at dotty.tools.dotc.typer.Namer$ClassCompleter$$anonfun$10.apply(Namer.scala:610)
    at scala.collection.immutable.List.map(List.scala:277)
    at dotty.tools.dotc.typer.Namer$ClassCompleter.completeInCreationContext(Namer.scala:610)
    at dotty.tools.dotc.typer.Namer$Completer.complete(Namer.scala:516)
    at dotty.tools.dotc.core.SymDenotations$SymDenotation.completeFrom(SymDenotations.scala:175)
    at dotty.tools.dotc.core.SymDenotations$SymDenotation.info(SymDenotations.scala:152)
    at dotty.tools.dotc.core.Types$NamedType.info(Types.scala:1481)
    at dotty.tools.dotc.core.Types$TypeRef.underlying(Types.scala:1592)
    at dotty.tools.dotc.core.Types$Type.decls(Types.scala:361)
    at dotty.tools.dotc.core.TypeOps$$anonfun$forwardRefs$1$1.apply(TypeOps.scala:465)
    at dotty.tools.dotc.core.TypeOps$$anonfun$forwardRefs$1$1.apply(TypeOps.scala:464)
    at scala.collection.immutable.List.foreach(List.scala:381)
    at dotty.tools.dotc.core.TypeOps$class.forwardRefs$1(TypeOps.scala:464)
    at dotty.tools.dotc.core.TypeOps$$anonfun$normalizeToClassRefs$2.apply(TypeOps.scala:499)
    at dotty.tools.dotc.core.TypeOps$$anonfun$normalizeToClassRefs$2.apply(TypeOps.scala:498)
    at dotty.tools.dotc.util.SimpleMap$Map2.foreachBinding(SimpleMap.scala:78)
    at dotty.tools.dotc.core.TypeOps$class.normalizeToClassRefs(TypeOps.scala:498)
    at dotty.tools.dotc.core.Contexts$Context.normalizeToClassRefs(Contexts.scala:53)
    at dotty.tools.dotc.core.unpickleScala2.Scala2Unpickler$.setClassInfo(Scala2Unpickler.scala:108)
    at dotty.tools.dotc.core.unpickleScala2.Scala2Unpickler$LocalUnpickler.dotty$tools$dotc$core$unpickleScala2$Scala2Unpickler$LocalUnpickler$$parseToCompletion$1(Scala2Unpickler.scala:561)
    at dotty.tools.dotc.core.unpickleScala2.Scala2Unpickler$LocalUnpickler$$anonfun$complete$1.apply$mcV$sp(Scala2Unpickler.scala:587)
    at dotty.tools.dotc.core.unpickleScala2.Scala2Unpickler$LocalUnpickler$$anonfun$complete$1.apply(Scala2Unpickler.scala:587)
    at dotty.tools.dotc.core.unpickleScala2.Scala2Unpickler$LocalUnpickler$$anonfun$complete$1.apply(Scala2Unpickler.scala:587)
    at dotty.tools.dotc.core.unpickleScala2.Scala2Unpickler.atReadPos(Scala2Unpickler.scala:334)
    at dotty.tools.dotc.core.unpickleScala2.Scala2Unpickler$LocalUnpickler.complete(Scala2Unpickler.scala:586)
    at dotty.tools.dotc.core.SymDenotations$SymDenotation.completeFrom(SymDenotations.scala:175)
    at dotty.tools.dotc.core.SymDenotations$SymDenotation.info(SymDenotations.scala:152)
    at dotty.tools.dotc.core.Types$NamedType.info(Types.scala:1481)
    at dotty.tools.dotc.core.Types$TypeRef.underlying(Types.scala:1592)
    at dotty.tools.dotc.core.Types$Type.decls(Types.scala:361)
    at dotty.tools.dotc.core.TypeOps$$anonfun$forwardRefs$1$1.apply(TypeOps.scala:465)
    at dotty.tools.dotc.core.TypeOps$$anonfun$forwardRefs$1$1.apply(TypeOps.scala:464)
    at scala.collection.immutable.List.foreach(List.scala:381)
    at dotty.tools.dotc.core.TypeOps$class.forwardRefs$1(TypeOps.scala:464)
    at dotty.tools.dotc.core.TypeOps$$anonfun$normalizeToClassRefs$2.apply(TypeOps.scala:499)
    at dotty.tools.dotc.core.TypeOps$$anonfun$normalizeToClassRefs$2.apply(TypeOps.scala:498)
    at dotty.tools.dotc.util.SimpleMap$Map4.foreachBinding(SimpleMap.scala:131)
    at dotty.tools.dotc.core.TypeOps$class.normalizeToClassRefs(TypeOps.scala:498)
    at dotty.tools.dotc.core.Contexts$Context.normalizeToClassRefs(Contexts.scala:53)
    at dotty.tools.dotc.core.unpickleScala2.Scala2Unpickler$.setClassInfo(Scala2Unpickler.scala:108)
    at dotty.tools.dotc.core.unpickleScala2.Scala2Unpickler$LocalUnpickler.dotty$tools$dotc$core$unpickleScala2$Scala2Unpickler$LocalUnpickler$$parseToCompletion$1(Scala2Unpickler.scala:561)
    at dotty.tools.dotc.core.unpickleScala2.Scala2Unpickler$LocalUnpickler$$anonfun$complete$1.apply$mcV$sp(Scala2Unpickler.scala:587)
    at dotty.tools.dotc.core.unpickleScala2.Scala2Unpickler$LocalUnpickler$$anonfun$complete$1.apply(Scala2Unpickler.scala:587)
    at dotty.tools.dotc.core.unpickleScala2.Scala2Unpickler$LocalUnpickler$$anonfun$complete$1.apply(Scala2Unpickler.scala:587)
    at dotty.tools.dotc.core.unpickleScala2.Scala2Unpickler.atReadPos(Scala2Unpickler.scala:334)
    at dotty.tools.dotc.core.unpickleScala2.Scala2Unpickler$LocalUnpickler.complete(Scala2Unpickler.scala:586)
    at dotty.tools.dotc.core.SymDenotations$SymDenotation.completeFrom(SymDenotations.scala:175)
    at dotty.tools.dotc.core.SymDenotations$SymDenotation.info(SymDenotations.scala:152)
    at dotty.tools.dotc.core.Types$NamedType.info(Types.scala:1481)
    at dotty.tools.dotc.core.Types$TypeRef.underlying(Types.scala:1592)
    at dotty.tools.dotc.core.Types$Type.decls(Types.scala:361)
    at dotty.tools.dotc.core.TypeOps$$anonfun$forwardRefs$1$1.apply(TypeOps.scala:465)
    at dotty.tools.dotc.core.TypeOps$$anonfun$forwardRefs$1$1.apply(TypeOps.scala:464)
    at scala.collection.immutable.List.foreach(List.scala:381)
    at dotty.tools.dotc.core.TypeOps$class.forwardRefs$1(TypeOps.scala:464)
    at dotty.tools.dotc.core.TypeOps$$anonfun$normalizeToClassRefs$2.apply(TypeOps.scala:499)
    at dotty.tools.dotc.core.TypeOps$$anonfun$normalizeToClassRefs$2.apply(TypeOps.scala:498)
    at dotty.tools.dotc.util.SimpleMap$Map2.foreachBinding(SimpleMap.scala:78)
    at dotty.tools.dotc.core.TypeOps$class.normalizeToClassRefs(TypeOps.scala:498)
    at dotty.tools.dotc.core.Contexts$Context.normalizeToClassRefs(Contexts.scala:53)
    at dotty.tools.dotc.core.unpickleScala2.Scala2Unpickler$.setClassInfo(Scala2Unpickler.scala:108)
    at dotty.tools.dotc.core.unpickleScala2.Scala2Unpickler$LocalUnpickler.dotty$tools$dotc$core$unpickleScala2$Scala2Unpickler$LocalUnpickler$$parseToCompletion$1(Scala2Unpickler.scala:561)
    at dotty.tools.dotc.core.unpickleScala2.Scala2Unpickler$LocalUnpickler$$anonfun$complete$1.apply$mcV$sp(Scala2Unpickler.scala:587)
    at dotty.tools.dotc.core.unpickleScala2.Scala2Unpickler$LocalUnpickler$$anonfun$complete$1.apply(Scala2Unpickler.scala:587)
    at dotty.tools.dotc.core.unpickleScala2.Scala2Unpickler$LocalUnpickler$$anonfun$complete$1.apply(Scala2Unpickler.scala:587)
    at dotty.tools.dotc.core.unpickleScala2.Scala2Unpickler.atReadPos(Scala2Unpickler.scala:334)
    at dotty.tools.dotc.core.unpickleScala2.Scala2Unpickler$LocalUnpickler.complete(Scala2Unpickler.scala:586)
    at dotty.tools.dotc.core.SymDenotations$SymDenotation.completeFrom(SymDenotations.scala:175)
    at dotty.tools.dotc.core.SymDenotations$SymDenotation.info(SymDenotations.scala:152)
    at dotty.tools.dotc.core.Types$NamedType.info(Types.scala:1481)
    at dotty.tools.dotc.core.Types$TypeRef.underlying(Types.scala:1592)
    at dotty.tools.dotc.core.Types$Type.decls(Types.scala:361)
    at dotty.tools.dotc.core.TypeOps$$anonfun$forwardRefs$1$1.apply(TypeOps.scala:465)
    at dotty.tools.dotc.core.TypeOps$$anonfun$forwardRefs$1$1.apply(TypeOps.scala:464)
    at scala.collection.immutable.List.foreach(List.scala:381)
    at dotty.tools.dotc.core.TypeOps$class.forwardRefs$1(TypeOps.scala:464)
    at dotty.tools.dotc.core.TypeOps$$anonfun$normalizeToClassRefs$2.apply(TypeOps.scala:499)
    at dotty.tools.dotc.core.TypeOps$$anonfun$normalizeToClassRefs$2.apply(TypeOps.scala:498)
    at dotty.tools.dotc.util.SimpleMap$Map4.foreachBinding(SimpleMap.scala:131)
    at dotty.tools.dotc.core.TypeOps$class.normalizeToClassRefs(TypeOps.scala:498)
    at dotty.tools.dotc.core.Contexts$Context.normalizeToClassRefs(Contexts.scala:53)
    at dotty.tools.dotc.core.unpickleScala2.Scala2Unpickler$.setClassInfo(Scala2Unpickler.scala:108)
    at dotty.tools.dotc.core.unpickleScala2.Scala2Unpickler$LocalUnpickler.dotty$tools$dotc$core$unpickleScala2$Scala2Unpickler$LocalUnpickler$$parseToCompletion$1(Scala2Unpickler.scala:561)
    at dotty.tools.dotc.core.unpickleScala2.Scala2Unpickler$LocalUnpickler$$anonfun$complete$1.apply$mcV$sp(Scala2Unpickler.scala:587)
    at dotty.tools.dotc.core.unpickleScala2.Scala2Unpickler$LocalUnpickler$$anonfun$complete$1.apply(Scala2Unpickler.scala:587)
    at dotty.tools.dotc.core.unpickleScala2.Scala2Unpickler$LocalUnpickler$$anonfun$complete$1.apply(Scala2Unpickler.scala:587)
    at dotty.tools.dotc.core.unpickleScala2.Scala2Unpickler.atReadPos(Scala2Unpickler.scala:334)
    at dotty.tools.dotc.core.unpickleScala2.Scala2Unpickler$LocalUnpickler.complete(Scala2Unpickler.scala:586)
    at dotty.tools.dotc.core.SymDenotations$SymDenotation.completeFrom(SymDenotations.scala:175)
    at dotty.tools.dotc.core.SymDenotations$SymDenotation.info(SymDenotations.scala:152)
    at dotty.tools.dotc.core.SymDenotations$SymDenotation.ensureCompleted(SymDenotations.scala:277)
    at dotty.tools.dotc.typer.TypeAssigner$class.reallyExists(TypeAssigner.scala:131)
    at dotty.tools.dotc.typer.Typer.reallyExists(Typer.scala:57)
    at dotty.tools.dotc.typer.TypeAssigner$class.selectionType(TypeAssigner.scala:197)
    at dotty.tools.dotc.typer.Typer.selectionType(Typer.scala:57)
    at dotty.tools.dotc.typer.Typer$$anonfun$typedIdent$1.namedImportRef$1(Typer.scala:176)
    at dotty.tools.dotc.typer.Typer$$anonfun$typedIdent$1.findRef$1(Typer.scala:237)
    at dotty.tools.dotc.typer.Typer$$anonfun$typedIdent$1.apply(Typer.scala:264)
    at dotty.tools.dotc.typer.Typer$$anonfun$typedIdent$1.apply(Typer.scala:78)
    at dotty.tools.dotc.util.Stats$.track(Stats.scala:36)
    at dotty.tools.dotc.typer.Typer.typedIdent(Typer.scala:78)
    at dotty.tools.dotc.typer.Typer.typedNamed$1(Typer.scala:1080)
    at dotty.tools.dotc.typer.Typer.typedUnadapted(Typer.scala:1139)
    at dotty.tools.dotc.typer.Typer$$anonfun$typed$2.apply(Typer.scala:1151)
    at dotty.tools.dotc.typer.Typer$$anonfun$typed$2.apply(Typer.scala:1149)
    at dotty.tools.dotc.reporting.Reporting$class.traceIndented(Reporter.scala:154)
    at dotty.tools.dotc.core.Contexts$Context.traceIndented(Contexts.scala:53)
    at dotty.tools.dotc.typer.Typer.typed(Typer.scala:1149)
    at dotty.tools.dotc.typer.Typer$$anonfun$typedAppliedTypeTree$1.apply(Typer.scala:838)
    at dotty.tools.dotc.typer.Typer$$anonfun$typedAppliedTypeTree$1.apply(Typer.scala:837)
    at dotty.tools.dotc.util.Stats$.track(Stats.scala:36)
    at dotty.tools.dotc.typer.Typer.typedAppliedTypeTree(Typer.scala:837)
    at dotty.tools.dotc.typer.Typer.typedUnnamed$1(Typer.scala:1125)
    at dotty.tools.dotc.typer.Typer.typedUnadapted(Typer.scala:1141)
    at dotty.tools.dotc.typer.Typer$$anonfun$typed$2.apply(Typer.scala:1151)
    at dotty.tools.dotc.typer.Typer$$anonfun$typed$2.apply(Typer.scala:1149)
    at dotty.tools.dotc.reporting.Reporting$class.traceIndented(Reporter.scala:154)
    at dotty.tools.dotc.core.Contexts$Context.traceIndented(Contexts.scala:53)
    at dotty.tools.dotc.typer.Typer.typed(Typer.scala:1149)
    at dotty.tools.dotc.typer.Namer.typedAheadImpl(Namer.scala:630)
    at dotty.tools.dotc.typer.Namer.typedAheadType(Namer.scala:637)
    at dotty.tools.dotc.typer.Namer.valOrDefDefSig(Namer.scala:785)
    at dotty.tools.dotc.typer.Namer.defDefSig(Namer.scala:807)
    at dotty.tools.dotc.typer.Namer$Completer.typeSig(Namer.scala:491)
    at dotty.tools.dotc.typer.Namer$Completer.completeInCreationContext(Namer.scala:533)
    at dotty.tools.dotc.typer.Namer$Completer.complete(Namer.scala:516)
    at dotty.tools.dotc.core.SymDenotations$SymDenotation.completeFrom(SymDenotations.scala:175)
    at dotty.tools.dotc.core.SymDenotations$SymDenotation.info(SymDenotations.scala:152)
    at dotty.tools.dotc.core.Denotations$SingleDenotation.signature(Denotations.scala:458)
    at dotty.tools.dotc.core.Denotations$SingleDenotation.matches(Denotations.scala:802)
    at dotty.tools.dotc.core.Denotations$SingleDenotation.filterDisjoint(Denotations.scala:809)
    at dotty.tools.dotc.core.Denotations$SingleDenotation.mapInherited(Denotations.scala:813)
    at dotty.tools.dotc.core.Denotations$SingleDenotation.mapInherited(Denotations.scala:452)
    at dotty.tools.dotc.core.SymDenotations$ClassDenotation$$anonfun$computeNPMembersNamed$1.collect$1(SymDenotations.scala:1524)
    at dotty.tools.dotc.core.SymDenotations$ClassDenotation$$anonfun$computeNPMembersNamed$1.collect$1(SymDenotations.scala:1519)
    at dotty.tools.dotc.core.SymDenotations$ClassDenotation$$anonfun$computeNPMembersNamed$1.apply(SymDenotations.scala:1532)
    at dotty.tools.dotc.core.SymDenotations$ClassDenotation$$anonfun$computeNPMembersNamed$1.apply(SymDenotations.scala:1509)
    at dotty.tools.dotc.util.Stats$.track(Stats.scala:36)
    at dotty.tools.dotc.core.SymDenotations$ClassDenotation.computeNPMembersNamed(SymDenotations.scala:1508)
    at dotty.tools.dotc.core.SymDenotations$ClassDenotation.nonPrivateMembersNamed(SymDenotations.scala:1498)
    at dotty.tools.dotc.core.SymDenotations$ClassDenotation.membersNamed(SymDenotations.scala:1485)
    at dotty.tools.dotc.core.SymDenotations$ClassDenotation.findMember(SymDenotations.scala:1537)
    at dotty.tools.dotc.core.Types$Type.go$1(Types.scala:416)
    at dotty.tools.dotc.core.Types$Type.findMember(Types.scala:493)
    at dotty.tools.dotc.core.Types$Type$$anonfun$member$1.apply(Types.scala:396)
    at dotty.tools.dotc.core.Types$Type$$anonfun$member$1.apply(Types.scala:396)
    at dotty.tools.dotc.util.Stats$.track(Stats.scala:36)
    at dotty.tools.dotc.core.Types$Type.member(Types.scala:395)
    at dotty.tools.dotc.core.Types$Type$$anonfun$implicitMembers$1$$anonfun$apply$5.apply(Types.scala:556)
    at dotty.tools.dotc.core.Types$Type$$anonfun$implicitMembers$1$$anonfun$apply$5.apply(Types.scala:556)
    at dotty.tools.dotc.core.Types$Type$$anonfun$memberDenots$1.apply(Types.scala:531)
    at dotty.tools.dotc.core.Types$Type$$anonfun$memberDenots$1.apply(Types.scala:531)
    at scala.collection.immutable.HashSet$HashSet1.foreach(HashSet.scala:322)
    at scala.collection.immutable.HashSet$HashTrieSet.foreach(HashSet.scala:978)
    at scala.collection.immutable.HashSet$HashTrieSet.foreach(HashSet.scala:978)
    at dotty.tools.dotc.core.Types$Type.memberDenots(Types.scala:531)
    at dotty.tools.dotc.core.Types$Type$$anonfun$implicitMembers$1.apply(Types.scala:555)
    at dotty.tools.dotc.core.Types$Type$$anonfun$implicitMembers$1.apply(Types.scala:557)
    at dotty.tools.dotc.util.Stats$.track(Stats.scala:36)
    at dotty.tools.dotc.core.Types$Type.implicitMembers(Types.scala:554)
    at dotty.tools.dotc.typer.ImportInfo.importedImplicits(ImportInfo.scala:84)
    at dotty.tools.dotc.core.Contexts$Context.implicits(Contexts.scala:196)
    at dotty.tools.dotc.core.Contexts$Context.implicits(Contexts.scala:203)
    at dotty.tools.dotc.core.Contexts$Context.implicits(Contexts.scala:203)
    at dotty.tools.dotc.core.Contexts$Context.implicits(Contexts.scala:203)
    at dotty.tools.dotc.core.Contexts$Context.implicits(Contexts.scala:203)
    at dotty.tools.dotc.core.Contexts$Context.implicits(Contexts.scala:203)
    at dotty.tools.dotc.core.Contexts$Context.implicits(Contexts.scala:203)
    at dotty.tools.dotc.core.Contexts$Context.implicits(Contexts.scala:203)
    at dotty.tools.dotc.core.Contexts$Context.implicits(Contexts.scala:203)
    at dotty.tools.dotc.core.Contexts$Context.implicits(Contexts.scala:203)
    at dotty.tools.dotc.core.Contexts$Context.implicits(Contexts.scala:203)
    at dotty.tools.dotc.core.Contexts$Context.implicits(Contexts.scala:203)
    at dotty.tools.dotc.typer.Implicits$ImplicitSearch.bestImplicit(Implicits.scala:592)
    at dotty.tools.dotc.typer.Implicits$$anonfun$inferImplicit$1$$anonfun$apply$17.apply(Implicits.scala:432)
    at dotty.tools.dotc.typer.Implicits$$anonfun$inferImplicit$1$$anonfun$apply$17.apply(Implicits.scala:427)
    at dotty.tools.dotc.reporting.Reporting$class.traceIndented(Reporter.scala:154)
    at dotty.tools.dotc.core.Contexts$Context.traceIndented(Contexts.scala:53)
    at dotty.tools.dotc.typer.Implicits$$anonfun$inferImplicit$1.apply(Implicits.scala:427)
    at dotty.tools.dotc.typer.Implicits$$anonfun$inferImplicit$1.apply(Implicits.scala:422)
    at dotty.tools.dotc.util.Stats$.track(Stats.scala:36)
    at dotty.tools.dotc.typer.Implicits$class.inferImplicit(Implicits.scala:422)
    at dotty.tools.dotc.typer.Typer.inferImplicit(Typer.scala:57)
    at dotty.tools.dotc.typer.Implicits$$anonfun$inferView$1.apply(Implicits.scala:405)
    at dotty.tools.dotc.typer.Implicits$$anonfun$inferView$1.apply(Implicits.scala:399)
    at dotty.tools.dotc.util.Stats$.track(Stats.scala:36)
    at dotty.tools.dotc.typer.Implicits$class.inferView(Implicits.scala:398)
    at dotty.tools.dotc.typer.Typer.inferView(Typer.scala:57)
    at dotty.tools.dotc.typer.Implicits$class.viewExists(Implicits.scala:390)
    at dotty.tools.dotc.typer.Typer.viewExists(Typer.scala:57)
    at dotty.tools.dotc.typer.ProtoTypes$Compatibility$class.isCompatible(ProtoTypes.scala:38)
    at dotty.tools.dotc.typer.Typer.isCompatible(Typer.scala:57)
    at dotty.tools.dotc.typer.Applications$TestApplication.addArg(Applications.scala:384)
    at dotty.tools.dotc.typer.Applications$Application.addTyped$1(Applications.scala:316)
    at dotty.tools.dotc.typer.Applications$Application.matchArgs(Applications.scala:355)
    at dotty.tools.dotc.typer.Applications$Application.init(Applications.scala:192)
    at dotty.tools.dotc.typer.Applications$TestApplication.<init>(Applications.scala:392)
    at dotty.tools.dotc.typer.Applications$ApplicableToTrees.<init>(Applications.scala:399)
    at dotty.tools.dotc.typer.Applications$class.isApplicable(Applications.scala:794)
    at dotty.tools.dotc.typer.Typer.isApplicable(Typer.scala:57)
    at dotty.tools.dotc.typer.Applications$$anonfun$resolveOverloaded$1$$anonfun$narrowByTrees$1$1.apply(Applications.scala:1053)
    at dotty.tools.dotc.typer.Applications$$anonfun$resolveOverloaded$1$$anonfun$narrowByTrees$1$1.apply(Applications.scala:1052)
    at scala.collection.TraversableLike$$anonfun$filterImpl$1.apply(TraversableLike.scala:259)
    at scala.collection.immutable.List.foreach(List.scala:381)
    at scala.collection.TraversableLike$class.filterImpl(TraversableLike.scala:258)
    at scala.collection.TraversableLike$class.filter(TraversableLike.scala:270)
    at scala.collection.AbstractTraversable.filter(Traversable.scala:104)
    at dotty.tools.dotc.typer.Applications$$anonfun$resolveOverloaded$1.narrowByTrees$1(Applications.scala:1052)
    at dotty.tools.dotc.typer.Applications$$anonfun$resolveOverloaded$1.apply(Applications.scala:1064)
    at dotty.tools.dotc.typer.Applications$$anonfun$resolveOverloaded$1.apply(Applications.scala:945)
    at dotty.tools.dotc.util.Stats$.track(Stats.scala:36)
    at dotty.tools.dotc.typer.Applications$class.resolveOverloaded(Applications.scala:945)
    at dotty.tools.dotc.typer.Typer.resolveOverloaded(Typer.scala:57)
    at dotty.tools.dotc.typer.Typer.adaptOverloaded$1(Typer.scala:1301)
    at dotty.tools.dotc.typer.Typer.adaptInterpolated(Typer.scala:1480)
    at dotty.tools.dotc.typer.Typer$$anonfun$adapt$1$$anonfun$apply$17.apply(Typer.scala:1247)
    at dotty.tools.dotc.typer.Typer$$anonfun$adapt$1$$anonfun$apply$17.apply(Typer.scala:1243)
    at dotty.tools.dotc.reporting.Reporting$class.traceIndented(Reporter.scala:154)
    at dotty.tools.dotc.core.Contexts$Context.traceIndented(Contexts.scala:53)
    at dotty.tools.dotc.typer.Typer$$anonfun$adapt$1.apply(Typer.scala:1243)
    at dotty.tools.dotc.typer.Typer$$anonfun$adapt$1.apply(Typer.scala:1243)
    at dotty.tools.dotc.util.Stats$.track(Stats.scala:36)
    at dotty.tools.dotc.typer.Typer.adapt(Typer.scala:1242)
    at dotty.tools.dotc.typer.Typer$$anonfun$typed$2.apply(Typer.scala:1151)
    at dotty.tools.dotc.typer.Typer$$anonfun$typed$2.apply(Typer.scala:1149)
    at dotty.tools.dotc.reporting.Reporting$class.traceIndented(Reporter.scala:154)
    at dotty.tools.dotc.core.Contexts$Context.traceIndented(Contexts.scala:53)
    at dotty.tools.dotc.typer.Typer.typed(Typer.scala:1149)
    at dotty.tools.dotc.typer.Typer.typedExpr(Typer.scala:1188)
    at dotty.tools.dotc.typer.Applications$$anonfun$realApply$1$1.apply(Applications.scala:534)
    at dotty.tools.dotc.typer.Applications$$anonfun$realApply$1$1.apply(Applications.scala:530)
    at dotty.tools.dotc.util.Stats$.track(Stats.scala:36)
    at dotty.tools.dotc.typer.Applications$class.realApply$1(Applications.scala:530)
    at dotty.tools.dotc.typer.Applications$class.typedApply(Applications.scala:596)
    at dotty.tools.dotc.typer.Typer.typedApply(Typer.scala:57)
    at dotty.tools.dotc.typer.Typer.typedUnnamed$1(Typer.scala:1101)
    at dotty.tools.dotc.typer.Typer.typedUnadapted(Typer.scala:1141)
    at dotty.tools.dotc.typer.Typer.typedUnnamed$1(Typer.scala:1135)
    at dotty.tools.dotc.typer.Typer.typedUnadapted(Typer.scala:1141)
    at dotty.tools.dotc.typer.ProtoTypes$FunProto.typedArg(ProtoTypes.scala:202)
    at dotty.tools.dotc.typer.Applications$ApplyToUntyped.typedArg(Applications.scala:513)
    at dotty.tools.dotc.typer.Applications$ApplyToUntyped.typedArg(Applications.scala:511)
    at dotty.tools.dotc.typer.Applications$Application.addTyped$1(Applications.scala:316)
    at dotty.tools.dotc.typer.Applications$Application.matchArgs(Applications.scala:355)
    at dotty.tools.dotc.typer.Applications$Application.init(Applications.scala:192)
    at dotty.tools.dotc.typer.Applications$TypedApply.<init>(Applications.scala:434)
    at dotty.tools.dotc.typer.Applications$ApplyToUntyped.<init>(Applications.scala:512)
    at dotty.tools.dotc.typer.Applications$$anonfun$realApply$1$1$$anonfun$apply$1.apply(Applications.scala:549)
    at dotty.tools.dotc.typer.Applications$$anonfun$realApply$1$1$$anonfun$apply$1.apply(Applications.scala:546)
    at dotty.tools.dotc.typer.Typer.tryEither(Typer.scala:1196)
    at dotty.tools.dotc.typer.Applications$$anonfun$realApply$1$1.apply(Applications.scala:552)
    at dotty.tools.dotc.typer.Applications$$anonfun$realApply$1$1.apply(Applications.scala:530)
    at dotty.tools.dotc.util.Stats$.track(Stats.scala:36)
    at dotty.tools.dotc.typer.Applications$class.realApply$1(Applications.scala:530)
    at dotty.tools.dotc.typer.Applications$class.typedApply(Applications.scala:596)
    at dotty.tools.dotc.typer.Typer.typedApply(Typer.scala:57)
    at dotty.tools.dotc.typer.Typer.typedUnnamed$1(Typer.scala:1101)
    at dotty.tools.dotc.typer.Typer.typedUnadapted(Typer.scala:1141)
    at dotty.tools.dotc.typer.Typer.typedUnnamed$1(Typer.scala:1135)
    at dotty.tools.dotc.typer.Typer.typedUnadapted(Typer.scala:1141)
    at dotty.tools.dotc.typer.Typer$$anonfun$typed$2.apply(Typer.scala:1151)
    at dotty.tools.dotc.typer.Typer$$anonfun$typed$2.apply(Typer.scala:1149)
    at dotty.tools.dotc.reporting.Reporting$class.traceIndented(Reporter.scala:154)
    at dotty.tools.dotc.core.Contexts$Context.traceIndented(Contexts.scala:53)
    at dotty.tools.dotc.typer.Typer.typed(Typer.scala:1149)
    at dotty.tools.dotc.typer.Namer.typedAheadImpl(Namer.scala:630)
    at dotty.tools.dotc.typer.Namer.typedAheadExpr(Namer.scala:640)
    at dotty.tools.dotc.typer.Namer.rhsType$1(Namer.scala:746)
    at dotty.tools.dotc.typer.Namer.cookedRhsType$1(Namer.scala:747)
    at dotty.tools.dotc.typer.Namer.lhsType$lzycompute$1(Namer.scala:748)
    at dotty.tools.dotc.typer.Namer.lhsType$1(Namer.scala:748)
    at dotty.tools.dotc.typer.Namer.inferredType$1(Namer.scala:760)
    at dotty.tools.dotc.typer.Namer.valOrDefDefSig(Namer.scala:768)
    at dotty.tools.dotc.typer.Namer.defDefSig(Namer.scala:807)
    at dotty.tools.dotc.typer.Namer$Completer.typeSig(Namer.scala:491)
    at dotty.tools.dotc.typer.Namer$Completer.completeInCreationContext(Namer.scala:533)
    at dotty.tools.dotc.typer.Namer$Completer.complete(Namer.scala:516)
    at dotty.tools.dotc.core.SymDenotations$SymDenotation.completeFrom(SymDenotations.scala:175)
    at dotty.tools.dotc.core.SymDenotations$SymDenotation.info(SymDenotations.scala:152)
    at dotty.tools.dotc.core.Types$Type.memberInfo(Types.scala:579)
    at dotty.tools.dotc.core.Denotations$Denotation.matchingDenotation(Denotations.scala:234)
    at dotty.tools.dotc.typer.Namer$$anonfun$12.apply(Namer.scala:689)
    at dotty.tools.dotc.typer.Namer$$anonfun$12.apply(Namer.scala:687)
    at scala.collection.LinearSeqOptimized$class.foldLeft(LinearSeqOptimized.scala:124)
    at scala.collection.immutable.List.foldLeft(List.scala:84)
    at scala.collection.TraversableOnce$class.$div$colon(TraversableOnce.scala:136)
    at scala.collection.AbstractTraversable.$div$colon(Traversable.scala:104)
    at dotty.tools.dotc.typer.Namer.inferredType$1(Namer.scala:687)
    at dotty.tools.dotc.typer.Namer.valOrDefDefSig(Namer.scala:768)
    at dotty.tools.dotc.typer.Namer.defDefSig(Namer.scala:807)
    at dotty.tools.dotc.typer.Namer$Completer.typeSig(Namer.scala:491)
    at dotty.tools.dotc.typer.Namer$Completer.completeInCreationContext(Namer.scala:533)
    at dotty.tools.dotc.typer.Namer$Completer.complete(Namer.scala:516)
    at dotty.tools.dotc.core.SymDenotations$SymDenotation.completeFrom(SymDenotations.scala:175)
    at dotty.tools.dotc.core.SymDenotations$SymDenotation.info(SymDenotations.scala:152)
    at dotty.tools.dotc.core.SymDenotations$SymDenotation.ensureCompleted(SymDenotations.scala:277)
    at dotty.tools.dotc.typer.Typer.retrieveSym(Typer.scala:1053)
    at dotty.tools.dotc.typer.Typer.typedNamed$1(Typer.scala:1078)
    at dotty.tools.dotc.typer.Typer.typedUnadapted(Typer.scala:1139)
    at dotty.tools.dotc.typer.Typer$$anonfun$typed$2.apply(Typer.scala:1151)
    at dotty.tools.dotc.typer.Typer$$anonfun$typed$2.apply(Typer.scala:1149)
    at dotty.tools.dotc.reporting.Reporting$class.traceIndented(Reporter.scala:154)
    at dotty.tools.dotc.core.Contexts$Context.traceIndented(Contexts.scala:53)
    at dotty.tools.dotc.typer.Typer.typed(Typer.scala:1149)
    at dotty.tools.dotc.typer.Typer.traverse$1(Typer.scala:1173)
    at dotty.tools.dotc.typer.Typer.typedStats(Typer.scala:1184)
    at dotty.tools.dotc.typer.Typer$$anonfun$typedClassDef$1.apply(Typer.scala:944)
    at dotty.tools.dotc.typer.Typer$$anonfun$typedClassDef$1.apply(Typer.scala:927)
    at dotty.tools.dotc.util.Stats$.track(Stats.scala:36)
    at dotty.tools.dotc.typer.Typer.typedClassDef(Typer.scala:927)
    at dotty.tools.dotc.typer.Typer.typedNamed$1(Typer.scala:1092)
    at dotty.tools.dotc.typer.Typer.typedUnadapted(Typer.scala:1139)
    at dotty.tools.dotc.typer.Typer$$anonfun$typed$2.apply(Typer.scala:1151)
    at dotty.tools.dotc.typer.Typer$$anonfun$typed$2.apply(Typer.scala:1149)
    at dotty.tools.dotc.reporting.Reporting$class.traceIndented(Reporter.scala:154)
    at dotty.tools.dotc.core.Contexts$Context.traceIndented(Contexts.scala:53)
    at dotty.tools.dotc.typer.Typer.typed(Typer.scala:1149)
    at dotty.tools.dotc.typer.Typer.traverse$1(Typer.scala:1173)
    at dotty.tools.dotc.typer.Typer.typedStats(Typer.scala:1184)
    at dotty.tools.dotc.typer.Typer$$anonfun$typedPackageDef$1.apply(Typer.scala:1032)
    at dotty.tools.dotc.typer.Typer$$anonfun$typedPackageDef$1.apply(Typer.scala:1023)
    at dotty.tools.dotc.util.Stats$.track(Stats.scala:36)
    at dotty.tools.dotc.typer.Typer.typedPackageDef(Typer.scala:1023)
    at dotty.tools.dotc.typer.Typer.typedUnnamed$1(Typer.scala:1129)
    at dotty.tools.dotc.typer.Typer.typedUnadapted(Typer.scala:1141)
    at dotty.tools.dotc.typer.Typer$$anonfun$typed$2.apply(Typer.scala:1151)
    at dotty.tools.dotc.typer.Typer$$anonfun$typed$2.apply(Typer.scala:1149)
    at dotty.tools.dotc.reporting.Reporting$class.traceIndented(Reporter.scala:154)
    at dotty.tools.dotc.core.Contexts$Context.traceIndented(Contexts.scala:53)
    at dotty.tools.dotc.typer.Typer.typed(Typer.scala:1149)
    at dotty.tools.dotc.typer.Typer.traverse$1(Typer.scala:1179)
    at dotty.tools.dotc.typer.Typer.typedStats(Typer.scala:1184)
    at dotty.tools.dotc.typer.Typer$$anonfun$typedPackageDef$1.apply(Typer.scala:1032)
    at dotty.tools.dotc.typer.Typer$$anonfun$typedPackageDef$1.apply(Typer.scala:1023)
    at dotty.tools.dotc.util.Stats$.track(Stats.scala:36)
    at dotty.tools.dotc.typer.Typer.typedPackageDef(Typer.scala:1023)
    at dotty.tools.dotc.typer.Typer.typedUnnamed$1(Typer.scala:1129)
    at dotty.tools.dotc.typer.Typer.typedUnadapted(Typer.scala:1141)
    at dotty.tools.dotc.typer.Typer$$anonfun$typed$2.apply(Typer.scala:1151)
    at dotty.tools.dotc.typer.Typer$$anonfun$typed$2.apply(Typer.scala:1149)
    at dotty.tools.dotc.reporting.Reporting$class.traceIndented(Reporter.scala:154)
    at dotty.tools.dotc.core.Contexts$Context.traceIndented(Contexts.scala:53)
    at dotty.tools.dotc.typer.Typer.typed(Typer.scala:1149)
    at dotty.tools.dotc.typer.Typer.typedExpr(Typer.scala:1188)
    at dotty.tools.dotc.typer.FrontEnd$$anonfun$typeCheck$1.apply$mcV$sp(FrontEnd.scala:47)
    at dotty.tools.dotc.typer.FrontEnd.monitor(FrontEnd.scala:23)
    at dotty.tools.dotc.typer.FrontEnd.typeCheck(FrontEnd.scala:45)
    at dotty.tools.dotc.typer.FrontEnd$$anonfun$runOn$3.apply(FrontEnd.scala:69)
    at dotty.tools.dotc.typer.FrontEnd$$anonfun$runOn$3.apply(FrontEnd.scala:69)
    at scala.collection.immutable.List.foreach(List.scala:381)
    at dotty.tools.dotc.typer.FrontEnd.runOn(FrontEnd.scala:69)
    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:21)
    at dotty.tools.dotc.Driver.process(Driver.scala:44)
    at test.CompilerTest.compileArgs(CompilerTest.scala:184)
    at test.CompilerTest.compileList(CompilerTest.scala:167)
    at dotc.tests.compileStdLib(tests.scala:181)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:497)
    at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
    at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
    at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
    at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
    at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
    at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
    at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
    at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
    at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
    at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
    at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
    at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
    at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
    at org.junit.runners.Suite.runChild(Suite.java:127)
    at org.junit.runners.Suite.runChild(Suite.java:26)
    at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
    at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
    at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
    at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
    at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
    at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
    at org.junit.runner.JUnitCore.run(JUnitCore.java:160)
    at org.junit.runner.JUnitCore.run(JUnitCore.java:138)
    at com.novocode.junit.JUnitRunner$1.execute(JUnitRunner.java:132)
    at sbt.ForkMain$Run$2.call(ForkMain.java:294)
    at sbt.ForkMain$Run$2.call(ForkMain.java:284)
    at java.util.concurrent.FutureTask.run(FutureTask.java:266)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
    at java.lang.Thread.run(Thread.java:745)

DarkDimius added a commit to dotty-staging/dotty that referenced this issue Nov 10, 2015
@odersky
Copy link
Contributor

odersky commented Nov 14, 2015

Here's a minimized test case:

scala-scala/src/library/scala> dotc Array.scala collection/GenIterable.scala collection/GenTraversableLike.scala

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants