Skip to content

Instantly share code, notes, and snippets.

@Sciss
Created February 14, 2022 19:40
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Sciss/fe2e96ad19d14e50cef19d052e797934 to your computer and use it in GitHub Desktop.
Save Sciss/fe2e96ad19d14e50cef19d052e797934 to your computer and use it in GitHub Desktop.
[error] scala.MatchError: Literal(Constant(null)) (of class dotty.tools.dotc.ast.Trees$Literal)
[error] at dotty.tools.dotc.ast.tpd$.TypeApply(tpd.scala:54)
[error] at dotty.tools.dotc.ast.tpd$TreeOps$.appliedToTypeTrees$extension(tpd.scala:951)
[error] at dotty.tools.dotc.typer.Typer.adapt1(Typer.scala:3896)
[error] at dotty.tools.dotc.typer.Typer.adapt(Typer.scala:3251)
[error] at dotty.tools.dotc.typer.ProtoTypes$FunProto.typedArg(ProtoTypes.scala:433)
[error] at dotty.tools.dotc.typer.Applications$ApplyToUntyped.typedArg(Applications.scala:853)
[error] at dotty.tools.dotc.typer.Applications$ApplyToUntyped.typedArg(Applications.scala:853)
[error] at dotty.tools.dotc.typer.Applications$Application.addTyped$1(Applications.scala:544)
[error] at dotty.tools.dotc.typer.Applications$Application.matchArgs(Applications.scala:609)
[error] at dotty.tools.dotc.typer.Applications$Application.init(Applications.scala:447)
[error] at dotty.tools.dotc.typer.Applications$TypedApply.<init>(Applications.scala:735)
[error] at dotty.tools.dotc.typer.Applications$ApplyToUntyped.<init>(Applications.scala:852)
[error] at dotty.tools.dotc.typer.Applications.ApplyTo(Applications.scala:1060)
[error] at dotty.tools.dotc.typer.Applications.ApplyTo$(Applications.scala:317)
[error] at dotty.tools.dotc.typer.Typer.ApplyTo(Typer.scala:107)
[error] at dotty.tools.dotc.typer.Applications.simpleApply$1(Applications.scala:907)
[error] at dotty.tools.dotc.typer.Applications.realApply$1$$anonfun$4(Applications.scala:986)
[error] at dotty.tools.dotc.typer.Typer.tryEither(Typer.scala:3035)
[error] at dotty.tools.dotc.typer.Applications.realApply$1(Applications.scala:997)
[error] at dotty.tools.dotc.typer.Applications.typedApply(Applications.scala:1035)
[error] at dotty.tools.dotc.typer.Applications.typedApply$(Applications.scala:317)
[error] at dotty.tools.dotc.typer.Typer.typedApply(Typer.scala:107)
[error] at dotty.tools.dotc.typer.Typer.typedUnnamed$1(Typer.scala:2779)
[error] at dotty.tools.dotc.typer.Typer.typedUnadapted(Typer.scala:2842)
[error] at dotty.tools.dotc.typer.Typer.typed(Typer.scala:2907)
[error] at dotty.tools.dotc.typer.Implicits.tryConversion$1(Implicits.scala:1061)
[error] at dotty.tools.dotc.typer.Implicits.typedImplicit(Implicits.scala:1092)
[error] at dotty.tools.dotc.typer.Implicits.typedImplicit$(Implicits.scala:771)
[error] at dotty.tools.dotc.typer.Typer.typedImplicit(Typer.scala:107)
[error] at dotty.tools.dotc.typer.Implicits$ImplicitSearch.tryImplicit(Implicits.scala:1142)
[error] at dotty.tools.dotc.typer.Implicits$ImplicitSearch.rank$1(Implicits.scala:1243)
[error] at dotty.tools.dotc.typer.Implicits$ImplicitSearch.searchImplicit(Implicits.scala:1411)
[error] at dotty.tools.dotc.typer.Implicits$ImplicitSearch.searchImplicit(Implicits.scala:1418)
[error] at dotty.tools.dotc.typer.Implicits$ImplicitSearch.searchImplicit(Implicits.scala:1426)
[error] at dotty.tools.dotc.typer.Implicits$ImplicitSearch.bestImplicit(Implicits.scala:1451)
[error] at dotty.tools.dotc.typer.Implicits.inferImplicit(Implicits.scala:991)
[error] at dotty.tools.dotc.typer.Implicits.inferImplicit$(Implicits.scala:771)
[error] at dotty.tools.dotc.typer.Typer.inferImplicit(Typer.scala:107)
[error] at dotty.tools.dotc.typer.Implicits.inferView(Implicits.scala:817)
[error] at dotty.tools.dotc.typer.Implicits.inferView$(Implicits.scala:771)
[error] at dotty.tools.dotc.typer.Typer.inferView(Typer.scala:107)
[error] at dotty.tools.dotc.typer.Implicits.viewExists(Implicits.scala:784)
[error] at dotty.tools.dotc.typer.Implicits.viewExists$(Implicits.scala:771)
[error] at dotty.tools.dotc.typer.Typer.viewExists(Typer.scala:107)
[error] at dotty.tools.dotc.typer.ProtoTypes$Compatibility.isCompatible(ProtoTypes.scala:39)
[error] at dotty.tools.dotc.typer.ProtoTypes$Compatibility.isCompatible$(ProtoTypes.scala:26)
[error] at dotty.tools.dotc.typer.Typer.isCompatible(Typer.scala:107)
[error] at dotty.tools.dotc.typer.Applications$TestApplication.argOK(Applications.scala:658)
[error] at dotty.tools.dotc.typer.Applications$TestApplication.addArg(Applications.scala:688)
[error] at dotty.tools.dotc.typer.Applications$Application.addTyped$1(Applications.scala:544)
[error] at dotty.tools.dotc.typer.Applications$Application.tryDefault$1(Applications.scala:580)
[error] at dotty.tools.dotc.typer.Applications$Application.matchArgs(Applications.scala:611)
[error] at dotty.tools.dotc.typer.Applications$Application.matchArgs(Applications.scala:609)
[error] at dotty.tools.dotc.typer.Applications$Application.init(Applications.scala:447)
[error] at dotty.tools.dotc.typer.Applications$TestApplication.<init>(Applications.scala:696)
[error] at dotty.tools.dotc.typer.Applications$ApplicableToTypes.<init>(Applications.scala:715)
[error] at dotty.tools.dotc.typer.Applications.isApplicableMethodRef(Applications.scala:1406)
[error] at dotty.tools.dotc.typer.Applications.isApplicableMethodRef$(Applications.scala:317)
[error] at dotty.tools.dotc.typer.Typer.isApplicableMethodRef(Typer.scala:107)
[error] at dotty.tools.dotc.typer.Applications.isAsSpecific$1(Applications.scala:1554)
[error] at dotty.tools.dotc.typer.Applications.winsType1$1(Applications.scala:1662)
[error] at dotty.tools.dotc.typer.Applications.compareWithTypes$1(Applications.scala:1670)
[error] at dotty.tools.dotc.typer.Applications.compare(Applications.scala:1684)
[error] at dotty.tools.dotc.typer.Applications.compare$(Applications.scala:317)
[error] at dotty.tools.dotc.typer.Typer.compare(Typer.scala:107)
[error] at dotty.tools.dotc.typer.Applications.narrowMostSpecific(Applications.scala:1700)
[error] at dotty.tools.dotc.typer.Applications.narrowMostSpecific$(Applications.scala:317)
[error] at dotty.tools.dotc.typer.Typer.narrowMostSpecific(Typer.scala:107)
[error] at dotty.tools.dotc.typer.Applications.resolveOverloaded1(Applications.scala:2012)
[error] at dotty.tools.dotc.typer.Applications.resolve$1(Applications.scala:1788)
[error] at dotty.tools.dotc.typer.Applications.resolveOverloaded(Applications.scala:1827)
[error] at dotty.tools.dotc.typer.Applications.resolveOverloaded$(Applications.scala:317)
[error] at dotty.tools.dotc.typer.Typer.resolveOverloaded(Typer.scala:107)
[error] at dotty.tools.dotc.typer.Typer.adaptOverloaded$1(Typer.scala:3277)
[error] at dotty.tools.dotc.typer.Typer.adapt1(Typer.scala:3886)
[error] at dotty.tools.dotc.typer.Typer.adapt(Typer.scala:3251)
[error] at dotty.tools.dotc.typer.Typer.tryApply$1(Typer.scala:3097)
[error] at dotty.tools.dotc.typer.Typer.tryInsertApplyOrImplicit$$anonfun$2(Typer.scala:3115)
[error] at dotty.tools.dotc.typer.Typer.tryEither(Typer.scala:3035)
[error] at dotty.tools.dotc.typer.Typer.tryInsertApplyOrImplicit(Typer.scala:3124)
[error] at dotty.tools.dotc.typer.Typer.adaptToArgs$1(Typer.scala:3343)
[error] at dotty.tools.dotc.typer.Typer.adapt1(Typer.scala:3904)
[error] at dotty.tools.dotc.typer.Typer.adapt(Typer.scala:3251)
[error] at dotty.tools.dotc.typer.Typer.typed(Typer.scala:2907)
[error] at dotty.tools.dotc.typer.Typer.typed(Typer.scala:2911)
[error] at dotty.tools.dotc.typer.Typer.typedExpr(Typer.scala:3027)
[error] at dotty.tools.dotc.typer.Applications.realApply$1(Applications.scala:885)
[error] at dotty.tools.dotc.typer.Applications.typedApply(Applications.scala:1035)
[error] at dotty.tools.dotc.typer.Applications.typedApply$(Applications.scala:317)
[error] at dotty.tools.dotc.typer.Typer.typedApply(Typer.scala:107)
[error] at dotty.tools.dotc.typer.Typer.typedUnnamed$1(Typer.scala:2779)
[error] at dotty.tools.dotc.typer.Typer.typedUnadapted(Typer.scala:2842)
[error] at dotty.tools.dotc.typer.Typer.typed(Typer.scala:2907)
[error] at dotty.tools.dotc.typer.Typer.typed(Typer.scala:2911)
[error] at dotty.tools.dotc.typer.Typer.typedExpr(Typer.scala:3027)
[error] at dotty.tools.dotc.typer.Typer.typeSelectOnTerm$1(Typer.scala:626)
[error] at dotty.tools.dotc.typer.Typer.typedSelect(Typer.scala:676)
[error] at dotty.tools.dotc.typer.Typer.typedNamed$1(Typer.scala:2749)
[error] at dotty.tools.dotc.typer.Typer.typedUnadapted(Typer.scala:2841)
[error] at dotty.tools.dotc.typer.Typer.typed(Typer.scala:2907)
[error] at dotty.tools.dotc.typer.Typer.typed(Typer.scala:2911)
[error] at dotty.tools.dotc.typer.Typer.typedExpr(Typer.scala:3027)
[error] at dotty.tools.dotc.typer.Applications.realApply$1(Applications.scala:885)
[error] at dotty.tools.dotc.typer.Applications.typedApply(Applications.scala:1035)
[error] at dotty.tools.dotc.typer.Applications.typedApply$(Applications.scala:317)
[error] at dotty.tools.dotc.typer.Typer.typedApply(Typer.scala:107)
[error] at dotty.tools.dotc.typer.Typer.typedUnnamed$1(Typer.scala:2779)
[error] at dotty.tools.dotc.typer.Typer.typedUnadapted(Typer.scala:2842)
[error] at dotty.tools.dotc.typer.Typer.typed(Typer.scala:2907)
[error] at dotty.tools.dotc.typer.Typer.typed(Typer.scala:2911)
[error] at dotty.tools.dotc.typer.Typer.typedExpr(Typer.scala:3027)
[error] at dotty.tools.dotc.typer.Typer.typeSelectOnTerm$1(Typer.scala:626)
[error] at dotty.tools.dotc.typer.Typer.typedSelect(Typer.scala:676)
[error] at dotty.tools.dotc.typer.Typer.typedNamed$1(Typer.scala:2749)
[error] at dotty.tools.dotc.typer.Typer.typedUnadapted(Typer.scala:2841)
[error] at dotty.tools.dotc.typer.Typer.typed(Typer.scala:2907)
[error] at dotty.tools.dotc.typer.Typer.typed(Typer.scala:2911)
[error] at dotty.tools.dotc.typer.Typer.typedExpr(Typer.scala:3027)
[error] at dotty.tools.dotc.typer.Namer.typedAheadExpr$$anonfun$1(Namer.scala:1430)
[error] at dotty.tools.dotc.typer.Namer.typedAhead(Namer.scala:1420)
[error] at dotty.tools.dotc.typer.Namer.typedAheadExpr(Namer.scala:1430)
[error] at dotty.tools.dotc.typer.Namer.typedAheadRhs$1$$anonfun$1(Namer.scala:1682)
[error] at dotty.tools.dotc.typer.PrepareInlineable$.dropInlineIfError(PrepareInlineable.scala:238)
[error] at dotty.tools.dotc.typer.Namer.typedAheadRhs$1(Namer.scala:1682)
[error] at dotty.tools.dotc.typer.Namer.rhsType$1(Namer.scala:1690)
[error] at dotty.tools.dotc.typer.Namer.cookedRhsType$1(Namer.scala:1708)
[error] at dotty.tools.dotc.typer.Namer.lhsType$1(Namer.scala:1709)
[error] at dotty.tools.dotc.typer.Namer.inferredResultType(Namer.scala:1720)
[error] at dotty.tools.dotc.typer.Namer.inferredType$1(Namer.scala:1469)
[error] at dotty.tools.dotc.typer.Namer.valOrDefDefSig(Namer.scala:1476)
[error] at dotty.tools.dotc.typer.Namer$Completer.typeSig(Namer.scala:752)
[error] at dotty.tools.dotc.typer.Namer$Completer.completeInCreationContext(Namer.scala:888)
[error] at dotty.tools.dotc.typer.Namer$Completer.complete(Namer.scala:780)
[error] at dotty.tools.dotc.core.SymDenotations$SymDenotation.completeFrom(SymDenotations.scala:168)
[error] at dotty.tools.dotc.core.Denotations$Denotation.completeInfo$1(Denotations.scala:188)
[error] at dotty.tools.dotc.core.Denotations$Denotation.info(Denotations.scala:190)
[error] at dotty.tools.dotc.core.SymDenotations$SymDenotation.ensureCompleted(SymDenotations.scala:370)
[error] at dotty.tools.dotc.typer.Typer.retrieveSym(Typer.scala:2721)
[error] at dotty.tools.dotc.typer.Typer.typedNamed$1(Typer.scala:2746)
[error] at dotty.tools.dotc.typer.Typer.typedUnadapted(Typer.scala:2841)
[error] at dotty.tools.dotc.typer.Typer.typed(Typer.scala:2907)
[error] at dotty.tools.dotc.typer.Typer.typed(Typer.scala:2911)
[error] at dotty.tools.dotc.typer.Typer.traverse$1(Typer.scala:2933)
[error] at dotty.tools.dotc.typer.Typer.typedStats(Typer.scala:2983)
[error] at dotty.tools.dotc.typer.Typer.typedBlockStats(Typer.scala:1044)
[error] at dotty.tools.dotc.typer.Typer.typedBlock(Typer.scala:1048)
[error] at dotty.tools.dotc.typer.Typer.typedUnnamed$1(Typer.scala:2787)
[error] at dotty.tools.dotc.typer.Typer.typedUnadapted(Typer.scala:2842)
[error] at dotty.tools.dotc.typer.Typer.typed(Typer.scala:2907)
[error] at dotty.tools.dotc.typer.Typer.typed(Typer.scala:2911)
[error] at dotty.tools.dotc.typer.ProtoTypes$FunProto.$anonfun$3$$anonfun$1(ProtoTypes.scala:385)
[error] at dotty.tools.dotc.typer.ProtoTypes$FunProto.cacheTypedArg(ProtoTypes.scala:359)
[error] at dotty.tools.dotc.typer.ProtoTypes$FunProto.$anonfun$3(ProtoTypes.scala:385)
[error] at dotty.tools.dotc.typer.ProtoTypes$FunProto.$anonfun$adapted$1(ProtoTypes.scala:385)
[error] at dotty.tools.dotc.core.Decorators$ListDecorator$.loop$3(Decorators.scala:179)
[error] at dotty.tools.dotc.core.Decorators$ListDecorator$.mapWithIndexConserve$extension(Decorators.scala:186)
[error] at dotty.tools.dotc.typer.ProtoTypes$FunProto.typedArgs(ProtoTypes.scala:385)
[error] at dotty.tools.dotc.typer.Applications.resolveOverloaded1(Applications.scala:1947)
[error] at dotty.tools.dotc.typer.Applications.resolve$1(Applications.scala:1786)
[error] at dotty.tools.dotc.typer.Applications.resolveOverloaded(Applications.scala:1827)
[error] at dotty.tools.dotc.typer.Applications.resolveOverloaded$(Applications.scala:317)
[error] at dotty.tools.dotc.typer.Typer.resolveOverloaded(Typer.scala:107)
[error] at dotty.tools.dotc.typer.Typer.adaptOverloaded$1(Typer.scala:3277)
[error] at dotty.tools.dotc.typer.Typer.adapt1(Typer.scala:3886)
[error] at dotty.tools.dotc.typer.Typer.adapt(Typer.scala:3251)
[error] at dotty.tools.dotc.typer.Typer.tryApply$1(Typer.scala:3097)
[error] at dotty.tools.dotc.typer.Typer.tryInsertApplyOrImplicit$$anonfun$2(Typer.scala:3115)
[error] at dotty.tools.dotc.typer.Typer.tryEither(Typer.scala:3035)
[error] at dotty.tools.dotc.typer.Typer.tryInsertApplyOrImplicit(Typer.scala:3124)
[error] at dotty.tools.dotc.typer.Typer.adaptToArgs$1(Typer.scala:3343)
[error] at dotty.tools.dotc.typer.Typer.adapt1(Typer.scala:3904)
[error] at dotty.tools.dotc.typer.Typer.adapt(Typer.scala:3251)
[error] at dotty.tools.dotc.typer.Typer.typed(Typer.scala:2907)
[error] at dotty.tools.dotc.typer.Typer.typed(Typer.scala:2911)
[error] at dotty.tools.dotc.typer.Typer.typedExpr(Typer.scala:3027)
[error] at dotty.tools.dotc.typer.Applications.realApply$1(Applications.scala:885)
[error] at dotty.tools.dotc.typer.Applications.typedApply(Applications.scala:1035)
[error] at dotty.tools.dotc.typer.Applications.typedApply$(Applications.scala:317)
[error] at dotty.tools.dotc.typer.Typer.typedApply(Typer.scala:107)
[error] at dotty.tools.dotc.typer.Typer.typedUnnamed$1(Typer.scala:2779)
[error] at dotty.tools.dotc.typer.Typer.typedUnadapted(Typer.scala:2842)
[error] at dotty.tools.dotc.typer.Typer.typed(Typer.scala:2907)
[error] at dotty.tools.dotc.typer.Typer.typed(Typer.scala:2911)
[error] at dotty.tools.dotc.typer.Typer.typedExpr(Typer.scala:3027)
[error] at dotty.tools.dotc.typer.Namer.typedAheadExpr$$anonfun$1(Namer.scala:1430)
[error] at dotty.tools.dotc.typer.Namer.typedAhead(Namer.scala:1420)
[error] at dotty.tools.dotc.typer.Namer.typedAheadExpr(Namer.scala:1430)
[error] at dotty.tools.dotc.typer.Namer.typedAheadRhs$1$$anonfun$1(Namer.scala:1682)
[error] at dotty.tools.dotc.typer.PrepareInlineable$.dropInlineIfError(PrepareInlineable.scala:238)
[error] at dotty.tools.dotc.typer.Namer.typedAheadRhs$1(Namer.scala:1682)
[error] at dotty.tools.dotc.typer.Namer.rhsType$1(Namer.scala:1690)
[error] at dotty.tools.dotc.typer.Namer.cookedRhsType$1(Namer.scala:1708)
[error] at dotty.tools.dotc.typer.Namer.lhsType$1(Namer.scala:1709)
[error] at dotty.tools.dotc.typer.Namer.inferredResultType(Namer.scala:1720)
[error] at dotty.tools.dotc.typer.Namer.inferredType$1(Namer.scala:1469)
[error] at dotty.tools.dotc.typer.Namer.valOrDefDefSig(Namer.scala:1476)
[error] at dotty.tools.dotc.typer.Namer$Completer.typeSig(Namer.scala:752)
[error] at dotty.tools.dotc.typer.Namer$Completer.completeInCreationContext(Namer.scala:888)
[error] at dotty.tools.dotc.typer.Namer$Completer.complete(Namer.scala:780)
[error] at dotty.tools.dotc.core.SymDenotations$SymDenotation.completeFrom(SymDenotations.scala:168)
[error] at dotty.tools.dotc.core.Denotations$Denotation.completeInfo$1(Denotations.scala:188)
[error] at dotty.tools.dotc.core.Denotations$Denotation.info(Denotations.scala:190)
[error] at dotty.tools.dotc.core.SymDenotations$SymDenotation.ensureCompleted(SymDenotations.scala:370)
[error] at dotty.tools.dotc.typer.Typer.retrieveSym(Typer.scala:2721)
[error] at dotty.tools.dotc.typer.Typer.typedNamed$1(Typer.scala:2746)
[error] at dotty.tools.dotc.typer.Typer.typedUnadapted(Typer.scala:2841)
[error] at dotty.tools.dotc.typer.Typer.typed(Typer.scala:2907)
[error] at dotty.tools.dotc.typer.Typer.typed(Typer.scala:2911)
[error] at dotty.tools.dotc.typer.Typer.traverse$1(Typer.scala:2933)
[error] at dotty.tools.dotc.typer.Typer.typedStats(Typer.scala:2983)
[error] at dotty.tools.dotc.typer.Typer.typedBlockStats(Typer.scala:1044)
[error] at dotty.tools.dotc.typer.Typer.typedBlock(Typer.scala:1048)
[error] at dotty.tools.dotc.typer.Typer.typedUnnamed$1(Typer.scala:2787)
[error] at dotty.tools.dotc.typer.Typer.typedUnadapted(Typer.scala:2842)
[error] at dotty.tools.dotc.typer.Typer.typed(Typer.scala:2907)
[error] at dotty.tools.dotc.typer.Typer.typed(Typer.scala:2911)
[error] at dotty.tools.dotc.typer.Typer.typedExpr(Typer.scala:3027)
[error] at dotty.tools.dotc.typer.Namer.typedAheadExpr$$anonfun$1(Namer.scala:1430)
[error] at dotty.tools.dotc.typer.Namer.typedAhead(Namer.scala:1420)
[error] at dotty.tools.dotc.typer.Namer.typedAheadExpr(Namer.scala:1430)
[error] at dotty.tools.dotc.typer.Namer.valOrDefDefSig(Namer.scala:1487)
[error] at dotty.tools.dotc.typer.Namer.defDefSig(Namer.scala:1560)
[error] at dotty.tools.dotc.typer.Namer$Completer.typeSig(Namer.scala:756)
[error] at dotty.tools.dotc.typer.Namer$Completer.completeInCreationContext(Namer.scala:888)
[error] at dotty.tools.dotc.typer.Namer$Completer.complete(Namer.scala:780)
[error] at dotty.tools.dotc.core.SymDenotations$SymDenotation.completeFrom(SymDenotations.scala:168)
[error] at dotty.tools.dotc.core.Denotations$Denotation.completeInfo$1(Denotations.scala:188)
[error] at dotty.tools.dotc.core.Denotations$Denotation.info(Denotations.scala:190)
[error] at dotty.tools.dotc.core.SymDenotations$SymDenotation.ensureCompleted(SymDenotations.scala:370)
[error] at dotty.tools.dotc.typer.Typer.retrieveSym(Typer.scala:2721)
[error] at dotty.tools.dotc.typer.Typer.typedNamed$1(Typer.scala:2746)
[error] at dotty.tools.dotc.typer.Typer.typedUnadapted(Typer.scala:2841)
[error] at dotty.tools.dotc.typer.Typer.typed(Typer.scala:2907)
[error] at dotty.tools.dotc.typer.Typer.typed(Typer.scala:2911)
[error] at dotty.tools.dotc.typer.Typer.traverse$1(Typer.scala:2933)
[error] at dotty.tools.dotc.typer.Typer.typedStats(Typer.scala:2983)
[error] at dotty.tools.dotc.typer.Typer.typedBlockStats(Typer.scala:1044)
[error] at dotty.tools.dotc.typer.Typer.typedBlock(Typer.scala:1048)
[error] at dotty.tools.dotc.typer.Typer.typedUnnamed$1(Typer.scala:2787)
[error] at dotty.tools.dotc.typer.Typer.typedUnadapted(Typer.scala:2842)
[error] at dotty.tools.dotc.typer.Typer.typed(Typer.scala:2907)
[error] at dotty.tools.dotc.typer.Typer.typed(Typer.scala:2911)
[error] at dotty.tools.dotc.typer.Typer.typedFunctionValue(Typer.scala:1427)
[error] at dotty.tools.dotc.typer.Typer.typedFunction(Typer.scala:1216)
[error] at dotty.tools.dotc.typer.Typer.typedUnnamed$1(Typer.scala:2789)
[error] at dotty.tools.dotc.typer.Typer.typedUnadapted(Typer.scala:2842)
[error] at dotty.tools.dotc.typer.Typer.typed(Typer.scala:2907)
[error] at dotty.tools.dotc.typer.Typer.typed(Typer.scala:2911)
[error] at dotty.tools.dotc.typer.Typer.typedExpr(Typer.scala:3027)
[error] at dotty.tools.dotc.typer.Typer.typedBlock(Typer.scala:1050)
[error] at dotty.tools.dotc.typer.Typer.typedUnnamed$1(Typer.scala:2787)
[error] at dotty.tools.dotc.typer.Typer.typedUnadapted(Typer.scala:2842)
[error] at dotty.tools.dotc.typer.ProtoTypes$FunProto.$anonfun$7(ProtoTypes.scala:431)
[error] at dotty.tools.dotc.typer.ProtoTypes$FunProto.cacheTypedArg(ProtoTypes.scala:359)
[error] at dotty.tools.dotc.typer.ProtoTypes$FunProto.typedArg(ProtoTypes.scala:432)
[error] at dotty.tools.dotc.typer.Applications$ApplyToUntyped.typedArg(Applications.scala:853)
[error] at dotty.tools.dotc.typer.Applications$ApplyToUntyped.typedArg(Applications.scala:853)
[error] at dotty.tools.dotc.typer.Applications$Application.addTyped$1(Applications.scala:544)
[error] at dotty.tools.dotc.typer.Applications$Application.matchArgs(Applications.scala:609)
[error] at dotty.tools.dotc.typer.Applications$Application.init(Applications.scala:447)
[error] at dotty.tools.dotc.typer.Applications$TypedApply.<init>(Applications.scala:735)
[error] at dotty.tools.dotc.typer.Applications$ApplyToUntyped.<init>(Applications.scala:852)
[error] at dotty.tools.dotc.typer.Applications.ApplyTo(Applications.scala:1060)
[error] at dotty.tools.dotc.typer.Applications.ApplyTo$(Applications.scala:317)
[error] at dotty.tools.dotc.typer.Typer.ApplyTo(Typer.scala:107)
[error] at dotty.tools.dotc.typer.Applications.simpleApply$1(Applications.scala:907)
[error] at dotty.tools.dotc.typer.Applications.realApply$1$$anonfun$4(Applications.scala:986)
[error] at dotty.tools.dotc.typer.Typer.tryEither(Typer.scala:3035)
[error] at dotty.tools.dotc.typer.Applications.realApply$1(Applications.scala:997)
[error] at dotty.tools.dotc.typer.Applications.typedApply(Applications.scala:1035)
[error] at dotty.tools.dotc.typer.Applications.typedApply$(Applications.scala:317)
[error] at dotty.tools.dotc.typer.Typer.typedApply(Typer.scala:107)
[error] at dotty.tools.dotc.typer.Typer.typedUnnamed$1(Typer.scala:2779)
[error] at dotty.tools.dotc.typer.Typer.typedUnadapted(Typer.scala:2842)
[error] at dotty.tools.dotc.typer.Typer.typed(Typer.scala:2907)
[error] at dotty.tools.dotc.typer.Typer.typed(Typer.scala:2911)
[error] at dotty.tools.dotc.typer.Typer.typedExpr(Typer.scala:3027)
[error] at dotty.tools.dotc.typer.Typer.typedMatch(Typer.scala:1498)
[error] at dotty.tools.dotc.typer.Typer.typedUnnamed$1(Typer.scala:2793)
[error] at dotty.tools.dotc.typer.Typer.typedUnadapted(Typer.scala:2842)
[error] at dotty.tools.dotc.typer.Typer.typed(Typer.scala:2907)
[error] at dotty.tools.dotc.typer.Typer.typed(Typer.scala:2911)
[error] at dotty.tools.dotc.typer.Typer.typedExpr(Typer.scala:3027)
[error] at dotty.tools.dotc.typer.Namer.typedAheadExpr$$anonfun$1(Namer.scala:1430)
[error] at dotty.tools.dotc.typer.Namer.typedAhead(Namer.scala:1420)
[error] at dotty.tools.dotc.typer.Namer.typedAheadExpr(Namer.scala:1430)
[error] at dotty.tools.dotc.typer.Namer.typedAheadRhs$1$$anonfun$1(Namer.scala:1682)
[error] at dotty.tools.dotc.typer.PrepareInlineable$.dropInlineIfError(PrepareInlineable.scala:238)
[error] at dotty.tools.dotc.typer.Namer.typedAheadRhs$1(Namer.scala:1682)
[error] at dotty.tools.dotc.typer.Namer.rhsType$1(Namer.scala:1690)
[error] at dotty.tools.dotc.typer.Namer.cookedRhsType$1(Namer.scala:1708)
[error] at dotty.tools.dotc.typer.Namer.lhsType$1(Namer.scala:1709)
[error] at dotty.tools.dotc.typer.Namer.inferredResultType(Namer.scala:1720)
[error] at dotty.tools.dotc.typer.Namer.inferredType$1(Namer.scala:1469)
[error] at dotty.tools.dotc.typer.Namer.valOrDefDefSig(Namer.scala:1476)
[error] at dotty.tools.dotc.typer.Namer$Completer.typeSig(Namer.scala:752)
[error] at dotty.tools.dotc.typer.Namer$Completer.completeInCreationContext(Namer.scala:888)
[error] at dotty.tools.dotc.typer.Namer$Completer.complete(Namer.scala:780)
[error] at dotty.tools.dotc.core.SymDenotations$SymDenotation.completeFrom(SymDenotations.scala:168)
[error] at dotty.tools.dotc.core.Denotations$Denotation.completeInfo$1(Denotations.scala:188)
[error] at dotty.tools.dotc.core.Denotations$Denotation.info(Denotations.scala:190)
[error] at dotty.tools.dotc.core.SymDenotations$SymDenotation.ensureCompleted(SymDenotations.scala:370)
[error] at dotty.tools.dotc.typer.Typer.retrieveSym(Typer.scala:2721)
[error] at dotty.tools.dotc.typer.Typer.typedNamed$1(Typer.scala:2746)
[error] at dotty.tools.dotc.typer.Typer.typedUnadapted(Typer.scala:2841)
[error] at dotty.tools.dotc.typer.Typer.typed(Typer.scala:2907)
[error] at dotty.tools.dotc.typer.Typer.typed(Typer.scala:2911)
[error] at dotty.tools.dotc.typer.Typer.traverse$1(Typer.scala:2933)
[error] at dotty.tools.dotc.typer.Typer.typedStats(Typer.scala:2983)
[error] at dotty.tools.dotc.typer.Typer.typedBlockStats(Typer.scala:1044)
[error] at dotty.tools.dotc.typer.Typer.typedBlock(Typer.scala:1048)
[error] at dotty.tools.dotc.typer.Typer.typedUnnamed$1(Typer.scala:2787)
[error] at dotty.tools.dotc.typer.Typer.typedUnadapted(Typer.scala:2842)
[error] at dotty.tools.dotc.typer.Typer.typed(Typer.scala:2907)
[error] at dotty.tools.dotc.typer.Typer.typed(Typer.scala:2911)
[error] at dotty.tools.dotc.typer.Typer.typedExpr(Typer.scala:3027)
[error] at dotty.tools.dotc.typer.Typer.$anonfun$46(Typer.scala:2228)
[error] at dotty.tools.dotc.typer.PrepareInlineable$.dropInlineIfError(PrepareInlineable.scala:238)
[error] at dotty.tools.dotc.typer.Typer.typedDefDef(Typer.scala:2228)
[error] at dotty.tools.dotc.typer.Typer.typedNamed$1(Typer.scala:2756)
[error] at dotty.tools.dotc.typer.Typer.typedUnadapted(Typer.scala:2841)
[error] at dotty.tools.dotc.typer.Typer.typed(Typer.scala:2907)
[error] at dotty.tools.dotc.typer.Typer.typed(Typer.scala:2911)
[error] at dotty.tools.dotc.typer.Typer.traverse$1(Typer.scala:2933)
[error] at dotty.tools.dotc.typer.Typer.typedStats(Typer.scala:2983)
[error] at dotty.tools.dotc.typer.Typer.typedBlockStats(Typer.scala:1044)
[error] at dotty.tools.dotc.typer.Typer.typedBlock(Typer.scala:1048)
[error] at dotty.tools.dotc.typer.Typer.typedUnnamed$1(Typer.scala:2787)
[error] at dotty.tools.dotc.typer.Typer.typedUnadapted(Typer.scala:2842)
[error] at dotty.tools.dotc.typer.Typer.typed(Typer.scala:2907)
[error] at dotty.tools.dotc.typer.Typer.typed(Typer.scala:2911)
[error] at dotty.tools.dotc.typer.Typer.typedFunctionValue(Typer.scala:1427)
[error] at dotty.tools.dotc.typer.Typer.typedFunction(Typer.scala:1216)
[error] at dotty.tools.dotc.typer.Typer.typedUnnamed$1(Typer.scala:2789)
[error] at dotty.tools.dotc.typer.Typer.typedUnadapted(Typer.scala:2842)
[error] at dotty.tools.dotc.typer.Typer.typed(Typer.scala:2907)
[error] at dotty.tools.dotc.typer.Typer.typed(Typer.scala:2911)
[error] at dotty.tools.dotc.typer.Typer.typedExpr(Typer.scala:3027)
[error] at dotty.tools.dotc.typer.Typer.typedBlock(Typer.scala:1050)
[error] at dotty.tools.dotc.typer.Typer.typedUnnamed$1(Typer.scala:2787)
[error] at dotty.tools.dotc.typer.Typer.typedUnadapted(Typer.scala:2842)
[error] at dotty.tools.dotc.typer.ProtoTypes$FunProto.$anonfun$7(ProtoTypes.scala:431)
[error] at dotty.tools.dotc.typer.ProtoTypes$FunProto.cacheTypedArg(ProtoTypes.scala:359)
[error] at dotty.tools.dotc.typer.ProtoTypes$FunProto.typedArg(ProtoTypes.scala:432)
[error] at dotty.tools.dotc.typer.Applications$ApplyToUntyped.typedArg(Applications.scala:853)
[error] at dotty.tools.dotc.typer.Applications$ApplyToUntyped.typedArg(Applications.scala:853)
[error] at dotty.tools.dotc.typer.Applications$Application.addTyped$1(Applications.scala:544)
[error] at dotty.tools.dotc.typer.Applications$Application.matchArgs(Applications.scala:609)
[error] at dotty.tools.dotc.typer.Applications$Application.init(Applications.scala:447)
[error] at dotty.tools.dotc.typer.Applications$TypedApply.<init>(Applications.scala:735)
[error] at dotty.tools.dotc.typer.Applications$ApplyToUntyped.<init>(Applications.scala:852)
[error] at dotty.tools.dotc.typer.Applications.ApplyTo(Applications.scala:1060)
[error] at dotty.tools.dotc.typer.Applications.ApplyTo$(Applications.scala:317)
[error] at dotty.tools.dotc.typer.Typer.ApplyTo(Typer.scala:107)
[error] at dotty.tools.dotc.typer.Applications.simpleApply$1(Applications.scala:907)
[error] at dotty.tools.dotc.typer.Applications.realApply$1$$anonfun$4(Applications.scala:986)
[error] at dotty.tools.dotc.typer.Typer.tryEither(Typer.scala:3035)
[error] at dotty.tools.dotc.typer.Applications.realApply$1(Applications.scala:997)
[error] at dotty.tools.dotc.typer.Applications.typedApply(Applications.scala:1035)
[error] at dotty.tools.dotc.typer.Applications.typedApply$(Applications.scala:317)
[error] at dotty.tools.dotc.typer.Typer.typedApply(Typer.scala:107)
[error] at dotty.tools.dotc.typer.Typer.typedInfixOp(Typer.scala:2667)
[error] at dotty.tools.dotc.typer.Typer.typedUnnamed$1(Typer.scala:2818)
[error] at dotty.tools.dotc.typer.Typer.typedUnadapted(Typer.scala:2842)
[error] at dotty.tools.dotc.typer.Typer.typed(Typer.scala:2907)
[error] at dotty.tools.dotc.typer.Typer.typed(Typer.scala:2911)
[error] at dotty.tools.dotc.typer.Typer.traverse$1(Typer.scala:2960)
[error] at dotty.tools.dotc.typer.Typer.typedStats(Typer.scala:2983)
[error] at dotty.tools.dotc.typer.Typer.typedClassDef(Typer.scala:2426)
[error] at dotty.tools.dotc.typer.Typer.typedTypeOrClassDef$1(Typer.scala:2767)
[error] at dotty.tools.dotc.typer.Typer.typedNamed$1(Typer.scala:2771)
[error] at dotty.tools.dotc.typer.Typer.typedUnadapted(Typer.scala:2841)
[error] at dotty.tools.dotc.typer.Typer.typed(Typer.scala:2907)
[error] at dotty.tools.dotc.typer.Typer.typed(Typer.scala:2911)
[error] at dotty.tools.dotc.typer.Typer.traverse$1(Typer.scala:2933)
[error] at dotty.tools.dotc.typer.Typer.typedStats(Typer.scala:2983)
[error] at dotty.tools.dotc.typer.Typer.typedPackageDef(Typer.scala:2553)
[error] at dotty.tools.dotc.typer.Typer.typedUnnamed$1(Typer.scala:2812)
[error] at dotty.tools.dotc.typer.Typer.typedUnadapted(Typer.scala:2842)
[error] at dotty.tools.dotc.typer.Typer.typed(Typer.scala:2907)
[error] at dotty.tools.dotc.typer.Typer.typed(Typer.scala:2911)
[error] at dotty.tools.dotc.typer.Typer.typedExpr(Typer.scala:3027)
[error] at dotty.tools.dotc.typer.TyperPhase.liftedTree1$1(TyperPhase.scala:56)
[error] at dotty.tools.dotc.typer.TyperPhase.typeCheck$$anonfun$1(TyperPhase.scala:62)
[error] at dotty.tools.dotc.core.Phases$Phase.monitor(Phases.scala:411)
[error] at dotty.tools.dotc.typer.TyperPhase.typeCheck(TyperPhase.scala:63)
[error] at dotty.tools.dotc.typer.TyperPhase.runOn$$anonfun$1(TyperPhase.scala:106)
[error] at scala.runtime.function.JProcedure1.apply(JProcedure1.java:15)
[error] at scala.runtime.function.JProcedure1.apply(JProcedure1.java:10)
[error] at scala.collection.immutable.List.foreach(List.scala:333)
[error] at dotty.tools.dotc.typer.TyperPhase.runOn(TyperPhase.scala:106)
[error] at dotty.tools.dotc.Run.runPhases$1$$anonfun$1(Run.scala:261)
[error] at scala.runtime.function.JProcedure1.apply(JProcedure1.java:15)
[error] at scala.runtime.function.JProcedure1.apply(JProcedure1.java:10)
[error] at scala.collection.ArrayOps$.foreach$extension(ArrayOps.scala:1323)
[error] at dotty.tools.dotc.Run.runPhases$1(Run.scala:272)
[error] at dotty.tools.dotc.Run.compileUnits$$anonfun$1(Run.scala:280)
[error] at scala.runtime.java8.JFunction0$mcV$sp.apply(JFunction0$mcV$sp.scala:18)
[error] at dotty.tools.dotc.util.Stats$.maybeMonitored(Stats.scala:68)
[error] at dotty.tools.dotc.Run.compileUnits(Run.scala:289)
[error] at dotty.tools.dotc.Run.compileSources(Run.scala:222)
[error] at dotty.tools.dotc.Run.compile(Run.scala:206)
[error] at dotty.tools.dotc.Driver.doCompile(Driver.scala:39)
[error] at dotty.tools.xsbt.CompilerBridgeDriver.run(CompilerBridgeDriver.java:88)
[error] at dotty.tools.xsbt.CompilerBridge.run(CompilerBridge.java:22)
[error] at sbt.internal.inc.AnalyzingCompiler.compile(AnalyzingCompiler.scala:91)
[error] at sbt.internal.inc.MixedAnalyzingCompiler.$anonfun$compile$7(MixedAnalyzingCompiler.scala:192)
[error] at scala.runtime.java8.JFunction0$mcV$sp.apply(JFunction0$mcV$sp.java:23)
[error] at sbt.internal.inc.MixedAnalyzingCompiler.timed(MixedAnalyzingCompiler.scala:247)
[error] at sbt.internal.inc.MixedAnalyzingCompiler.$anonfun$compile$4(MixedAnalyzingCompiler.scala:182)
[error] at sbt.internal.inc.MixedAnalyzingCompiler.$anonfun$compile$4$adapted(MixedAnalyzingCompiler.scala:163)
[error] at sbt.internal.inc.JarUtils$.withPreviousJar(JarUtils.scala:239)
[error] at sbt.internal.inc.MixedAnalyzingCompiler.compileScala$1(MixedAnalyzingCompiler.scala:163)
[error] at sbt.internal.inc.MixedAnalyzingCompiler.compile(MixedAnalyzingCompiler.scala:210)
[error] at sbt.internal.inc.IncrementalCompilerImpl.$anonfun$compileInternal$1(IncrementalCompilerImpl.scala:528)
[error] at sbt.internal.inc.IncrementalCompilerImpl.$anonfun$compileInternal$1$adapted(IncrementalCompilerImpl.scala:528)
[error] at sbt.internal.inc.Incremental$.$anonfun$apply$5(Incremental.scala:177)
[error] at sbt.internal.inc.Incremental$.$anonfun$apply$5$adapted(Incremental.scala:175)
[error] at sbt.internal.inc.Incremental$$anon$2.run(Incremental.scala:461)
[error] at sbt.internal.inc.IncrementalCommon$CycleState.next(IncrementalCommon.scala:116)
[error] at sbt.internal.inc.IncrementalCommon$$anon$1.next(IncrementalCommon.scala:56)
[error] at sbt.internal.inc.IncrementalCommon$$anon$1.next(IncrementalCommon.scala:52)
[error] at sbt.internal.inc.IncrementalCommon.cycle(IncrementalCommon.scala:263)
[error] at sbt.internal.inc.Incremental$.$anonfun$incrementalCompile$8(Incremental.scala:416)
[error] at sbt.internal.inc.Incremental$.withClassfileManager(Incremental.scala:503)
[error] at sbt.internal.inc.Incremental$.incrementalCompile(Incremental.scala:403)
[error] at sbt.internal.inc.Incremental$.apply(Incremental.scala:169)
[error] at sbt.internal.inc.IncrementalCompilerImpl.compileInternal(IncrementalCompilerImpl.scala:528)
[error] at sbt.internal.inc.IncrementalCompilerImpl.$anonfun$compileIncrementally$1(IncrementalCompilerImpl.scala:482)
[error] at sbt.internal.inc.IncrementalCompilerImpl.handleCompilationError(IncrementalCompilerImpl.scala:332)
[error] at sbt.internal.inc.IncrementalCompilerImpl.compileIncrementally(IncrementalCompilerImpl.scala:420)
[error] at sbt.internal.inc.IncrementalCompilerImpl.compile(IncrementalCompilerImpl.scala:137)
[error] at sbt.Defaults$.compileIncrementalTaskImpl(Defaults.scala:2366)
[error] at sbt.Defaults$.$anonfun$compileIncrementalTask$2(Defaults.scala:2316)
[error] at sbt.internal.server.BspCompileTask$.$anonfun$compute$1(BspCompileTask.scala:30)
[error] at sbt.internal.io.Retry$.apply(Retry.scala:46)
[error] at sbt.internal.io.Retry$.apply(Retry.scala:28)
[error] at sbt.internal.io.Retry$.apply(Retry.scala:23)
[error] at sbt.internal.server.BspCompileTask$.compute(BspCompileTask.scala:30)
[error] at sbt.Defaults$.$anonfun$compileIncrementalTask$1(Defaults.scala:2314)
[error] at scala.Function1.$anonfun$compose$1(Function1.scala:49)
[error] at sbt.internal.util.$tilde$greater.$anonfun$$u2219$1(TypeFunctions.scala:62)
[error] at sbt.std.Transform$$anon$4.work(Transform.scala:68)
[error] at sbt.Execute.$anonfun$submit$2(Execute.scala:282)
[error] at sbt.internal.util.ErrorHandling$.wideConvert(ErrorHandling.scala:23)
[error] at sbt.Execute.work(Execute.scala:291)
[error] at sbt.Execute.$anonfun$submit$1(Execute.scala:282)
[error] at sbt.ConcurrentRestrictions$$anon$4.$anonfun$submitValid$1(ConcurrentRestrictions.scala:265)
[error] at sbt.CompletionService$$anon$2.call(CompletionService.scala:64)
[error] at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
[error] at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
[error] at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
[error] at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
[error] at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
[error] at java.base/java.lang.Thread.run(Thread.java:829)
[error] (coreJVM / Test / compileIncremental) scala.MatchError: Literal(Constant(null)) (of class dotty.tools.dotc.ast.Trees$Literal)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment