Open eb-jianping-roth opened 1 day ago
Hello, thanks for opening this - while its clear to see the crash cause (NoType
was unexpected during an implicit search) it could be difficult to replicate to know why it appears.
it would be very helpful if possible for you to provide a code sample that produces the crash - try and cut down the code to the smallest thing that can reproduce the crash, and possibly rename things if they are sensitive information
also you are using 3.3.1 which is an old compiler version, does it go away with 3.3.4?
unhandled exception while running inlining on /Users/Jianping.Roth/workspace/ebs/comms/cem-comms/comms-cqrs/comms-command-gateway/src/main/scala/CommQueryClient.scala
An unhandled exception was thrown in the compiler. Please file a crash report here: https://github.com/lampepfl/dotty/issues/new/choose
== Source file context for tree position ==
[error] ## Exception when compiling 36 sources to /Users/Jianping.Roth/workspace/ebs/comms/cem-comms/comms-cqrs/comms-command-gateway/target/scala-3.3.1/classes [error] java.lang.AssertionError: assertion failed: NoType [error] scala.runtime.Scala3RunTime$.assertFailed(Scala3RunTime.scala:8) [error] dotty.tools.dotc.core.Types$TypeBounds.(Types.scala:5141)
[error] dotty.tools.dotc.core.Types$AliasingBounds.(Types.scala:5220)
[error] dotty.tools.dotc.core.Types$TypeAlias.(Types.scala:5242)
[error] dotty.tools.dotc.core.Types$TypeAlias$.apply(Types.scala:5279)
[error] dotty.tools.dotc.core.Types$TypeAlias.derivedAlias(Types.scala:5244)
[error] dotty.tools.dotc.core.Types$TypeMap.derivedAlias(Types.scala:5643)
[error] dotty.tools.dotc.core.Types$TypeMap.mapOver(Types.scala:5579)
[error] dotty.tools.dotc.typer.ImplicitRunInfo$$anon$1.apply(Implicits.scala:799)
[error] dotty.tools.dotc.core.Types$TypeMap.mapOver(Types.scala:5754)
[error] dotty.tools.dotc.typer.ImplicitRunInfo$$anon$1.apply(Implicits.scala:799)
[error] dotty.tools.dotc.core.Types$TypeMap.mapOver(Types.scala:5754)
[error] dotty.tools.dotc.typer.ImplicitRunInfo$$anon$1.apply(Implicits.scala:799)
[error] dotty.tools.dotc.core.Types$TypeMap.mapOver(Types.scala:5754)
[error] dotty.tools.dotc.typer.ImplicitRunInfo$$anon$1.apply(Implicits.scala:799)
[error] dotty.tools.dotc.typer.ImplicitRunInfo.implicitScope(Implicits.scala:801)
[error] dotty.tools.dotc.typer.ImplicitRunInfo.implicitScope$(Implicits.scala:584)
[error] dotty.tools.dotc.Run.implicitScope(Run.scala:36)
[error] dotty.tools.dotc.typer.Implicits$ImplicitSearch.implicitScope(Implicits.scala:1575)
[error] dotty.tools.dotc.typer.Implicits$ImplicitSearch.searchImplicit(Implicits.scala:1538)
[error] dotty.tools.dotc.typer.Implicits$ImplicitSearch.searchImplicit(Implicits.scala:1547)
[error] dotty.tools.dotc.typer.Implicits$ImplicitSearch.bestImplicit(Implicits.scala:1572)
[error] dotty.tools.dotc.typer.Implicits.inferImplicit(Implicits.scala:1060)
[error] dotty.tools.dotc.typer.Implicits.inferImplicit$(Implicits.scala:818)
[error] dotty.tools.dotc.typer.Typer.inferImplicit(Typer.scala:116)
[error] dotty.tools.dotc.typer.Implicits.inferImplicitArg(Implicits.scala:884)
[error] dotty.tools.dotc.typer.Implicits.inferImplicitArg$(Implicits.scala:818)
[error] dotty.tools.dotc.typer.Typer.inferImplicitArg(Typer.scala:116)
[error] dotty.tools.dotc.typer.Typer.implicitArgs$1(Typer.scala:3737)
[error] dotty.tools.dotc.typer.Typer.addImplicitArgs$1(Typer.scala:3773)
[error] dotty.tools.dotc.typer.Typer.adaptNoArgsImplicitMethod$1(Typer.scala:3849)
[error] dotty.tools.dotc.typer.Typer.adaptNoArgs$1(Typer.scala:4038)
[error] dotty.tools.dotc.typer.Typer.adapt1(Typer.scala:4268)
[error] dotty.tools.dotc.typer.Typer.adapt(Typer.scala:3587)
[error] dotty.tools.dotc.typer.Typer.readapt$1(Typer.scala:3598)
[error] dotty.tools.dotc.typer.Typer.adapt1(Typer.scala:4255)
[error] dotty.tools.dotc.typer.Typer.adapt(Typer.scala:3587)
[error] dotty.tools.dotc.typer.Implicits.typedImplicit(Implicits.scala:1117)
[error] dotty.tools.dotc.typer.Implicits.typedImplicit$(Implicits.scala:818)
[error] dotty.tools.dotc.typer.Typer.typedImplicit(Typer.scala:116)
[error] dotty.tools.dotc.typer.Implicits$ImplicitSearch.tryImplicit(Implicits.scala:1242)
[error] dotty.tools.dotc.typer.Implicits$ImplicitSearch.rank$1(Implicits.scala:1341)
[error] dotty.tools.dotc.typer.Implicits$ImplicitSearch.searchImplicit(Implicits.scala:1511)
[error] dotty.tools.dotc.typer.Implicits$ImplicitSearch.searchImplicit(Implicits.scala:1539)
[error] dotty.tools.dotc.typer.Implicits$ImplicitSearch.bestImplicit(Implicits.scala:1572)
[error] dotty.tools.dotc.typer.Implicits.inferImplicit(Implicits.scala:1060)
[error] dotty.tools.dotc.typer.Implicits.inferImplicit$(Implicits.scala:818)
[error] dotty.tools.dotc.typer.Typer.inferImplicit(Typer.scala:116)
[error] dotty.tools.dotc.typer.Implicits.inferImplicitArg(Implicits.scala:884)
[error] dotty.tools.dotc.typer.Implicits.inferImplicitArg$(Implicits.scala:818)
[error] dotty.tools.dotc.typer.Typer.inferImplicitArg(Typer.scala:116)
[error] dotty.tools.dotc.typer.Typer.implicitArgs$1(Typer.scala:3737)
[error] dotty.tools.dotc.typer.Typer.addImplicitArgs$1(Typer.scala:3773)
[error] dotty.tools.dotc.typer.Typer.adaptNoArgsImplicitMethod$1(Typer.scala:3849)
[error] dotty.tools.dotc.typer.Typer.adaptNoArgs$1(Typer.scala:4038)
[error] dotty.tools.dotc.typer.Typer.adapt1(Typer.scala:4268)
[error] dotty.tools.dotc.typer.Typer.adapt(Typer.scala:3587)
[error] dotty.tools.dotc.typer.Typer.readapt$1(Typer.scala:3598)
[error] dotty.tools.dotc.typer.Typer.adapt1(Typer.scala:4255)
[error] dotty.tools.dotc.typer.Typer.adapt(Typer.scala:3587)
[error] dotty.tools.dotc.typer.Implicits.typedImplicit(Implicits.scala:1117)
[error] dotty.tools.dotc.typer.Implicits.typedImplicit$(Implicits.scala:818)
[error] dotty.tools.dotc.typer.Typer.typedImplicit(Typer.scala:116)
[error] dotty.tools.dotc.typer.Implicits$ImplicitSearch.tryImplicit(Implicits.scala:1242)
[error] dotty.tools.dotc.typer.Implicits$ImplicitSearch.rank$1(Implicits.scala:1341)
[error] dotty.tools.dotc.typer.Implicits$ImplicitSearch.searchImplicit(Implicits.scala:1511)
[error] dotty.tools.dotc.typer.Implicits$ImplicitSearch.searchImplicit(Implicits.scala:1539)
[error] dotty.tools.dotc.typer.Implicits$ImplicitSearch.searchImplicit(Implicits.scala:1547)
[error] dotty.tools.dotc.typer.Implicits$ImplicitSearch.bestImplicit(Implicits.scala:1572)
[error] dotty.tools.dotc.typer.Implicits.inferImplicit(Implicits.scala:1060)