-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Regression in virtuslab/scala-cli
for derivation
#21320
Comments
Fixed by #21305 |
If #21305 does not get merged, a fix to correct this is to replace the last line with given monoid: ConfigMonoid[PublishContextualOptions] = ConfigMonoid.derive |
This reproducer is now failing crashing in main. When applying the workaround ( -- Error: /Users/wmazur/projects/sandbox/src/main/scala/schema.scala:48:54 -----
48 | implicit val monoid: ConfigMonoid[PublishOptions] = ConfigMonoid.derive
| ^^^^^^^^^^^^^^^^^^^
| method zeroTuple is declared as `inline`, but was not inlined
|
| Try increasing `-Xmax-inlines` above 32
|----------------------------------------------------------------------------
|Inline stack trace
|- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|This location contains code that was inlined from schema.scala:15
15 | summonInline[ConfigMonoid[t]].zero *: zeroTuple[ts]
| ^^^^^^^^^
|- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|This location contains code that was inlined from schema.scala:15
15 | summonInline[ConfigMonoid[t]].zero *: zeroTuple[ts]
| ^^^^^^^^^^^^^
|- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|This location contains code that was inlined from schema.scala:15
15 | summonInline[ConfigMonoid[t]].zero *: zeroTuple[ts]
| ^^^^^^^^^^^^^
|- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|This location contains code that was inlined from schema.scala:15
15 | summonInline[ConfigMonoid[t]].zero *: zeroTuple[ts]
| ^^^^^^^^^^^^^
|- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|This location contains code that was inlined from schema.scala:15
15 | summonInline[ConfigMonoid[t]].zero *: zeroTuple[ts]
| ^^^^^^^^^^^^^
|- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|This location contains code that was inlined from schema.scala:15
15 | summonInline[ConfigMonoid[t]].zero *: zeroTuple[ts]
| ^^^^^^^^^^^^^
|- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|This location contains code that was inlined from schema.scala:15
15 | summonInline[ConfigMonoid[t]].zero *: zeroTuple[ts]
| ^^^^^^^^^^^^^
|- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|This location contains code that was inlined from schema.scala:15
15 | summonInline[ConfigMonoid[t]].zero *: zeroTuple[ts]
| ^^^^^^^^^^^^^
|- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|This location contains code that was inlined from schema.scala:15
15 | summonInline[ConfigMonoid[t]].zero *: zeroTuple[ts]
| ^^^^^^^^^^^^^
|- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|This location contains code that was inlined from schema.scala:15
15 | summonInline[ConfigMonoid[t]].zero *: zeroTuple[ts]
| ^^^^^^^^^^^^^
|- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|This location contains code that was inlined from schema.scala:15
30 | def zero: T = m.fromProduct(zeroTuple[m.MirroredElemTypes])
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
----------------------------------------------------------------------------
Exception in thread "main" java.lang.AssertionError: assertion failed: method *: in trait Tuple
at scala.runtime.Scala3RunTime$.assertFailed(Scala3RunTime.scala:8)
at dotty.tools.dotc.transform.Erasure$Typer.mapOwner$1(Erasure.scala:697)
at dotty.tools.dotc.transform.Erasure$Typer.typedSelect(Erasure.scala:709)
at dotty.tools.dotc.typer.Typer.typedNamed$1(Typer.scala:3421)
at dotty.tools.dotc.typer.Typer.typedUnadapted(Typer.scala:3530)
at dotty.tools.dotc.typer.Typer.typed(Typer.scala:3608)
at dotty.tools.dotc.typer.Typer.typed(Typer.scala:3612)
at dotty.tools.dotc.typer.Typer.typedExpr(Typer.scala:3723)
at dotty.tools.dotc.transform.Erasure$Typer.typedTypeApply(Erasure.scala:823)
at dotty.tools.dotc.typer.Typer.typedUnnamed$1(Typer.scala:3466)
at dotty.tools.dotc.typer.Typer.typedUnadapted(Typer.scala:3531)
at dotty.tools.dotc.typer.Typer.typed(Typer.scala:3608)
at dotty.tools.dotc.typer.Typer.typed(Typer.scala:3612)
at dotty.tools.dotc.typer.Typer.typedExpr(Typer.scala:3723)
at dotty.tools.dotc.transform.Erasure$Typer.typedApply(Erasure.scala:850)
at dotty.tools.dotc.typer.Typer.typedUnnamed$1(Typer.scala:3446)
at dotty.tools.dotc.typer.Typer.typedUnadapted(Typer.scala:3531)
at dotty.tools.dotc.typer.Typer.typed(Typer.scala:3608)
at dotty.tools.dotc.typer.Typer.typed(Typer.scala:3612)
at dotty.tools.dotc.transform.Erasure$Typer.typedTyped(Erasure.scala:640)
at dotty.tools.dotc.typer.Typer.typedUnnamed$1(Typer.scala:3451)
at dotty.tools.dotc.typer.Typer.typedUnadapted(Typer.scala:3531)
at dotty.tools.dotc.typer.Typer.typed(Typer.scala:3608)
at dotty.tools.dotc.typer.Typer.typed(Typer.scala:3612)
at dotty.tools.dotc.typer.Typer.typedExpr(Typer.scala:3723)
at dotty.tools.dotc.typer.Typer.typedBlock(Typer.scala:1419)
at dotty.tools.dotc.typer.Typer.typedUnnamed$1(Typer.scala:3454)
at dotty.tools.dotc.typer.Typer.typedUnadapted(Typer.scala:3531)
at dotty.tools.dotc.typer.Typer.typed(Typer.scala:3608)
at dotty.tools.dotc.typer.Typer.typed(Typer.scala:3612)
at dotty.tools.dotc.transform.Erasure$Typer.typedTyped(Erasure.scala:640)
at dotty.tools.dotc.typer.Typer.typedUnnamed$1(Typer.scala:3451)
at dotty.tools.dotc.typer.Typer.typedUnadapted(Typer.scala:3531)
at dotty.tools.dotc.typer.Typer.typed(Typer.scala:3608)
at dotty.tools.dotc.typer.Typer.typed(Typer.scala:3612)
at dotty.tools.dotc.typer.ReTyper.typedInlined(ReTyper.scala:100)
at dotty.tools.dotc.transform.Erasure$Typer.typedInlined(Erasure.scala:911)
at dotty.tools.dotc.typer.Typer.typedUnnamed$1(Typer.scala:3469)
at dotty.tools.dotc.typer.Typer.typedUnadapted(Typer.scala:3531)
at dotty.tools.dotc.typer.Typer.typed(Typer.scala:3608)
at dotty.tools.dotc.typer.Typer.typed(Typer.scala:3612)
at dotty.tools.dotc.transform.Erasure$Typer.typedSelect(Erasure.scala:678)
at dotty.tools.dotc.typer.Typer.typedNamed$1(Typer.scala:3421)
at dotty.tools.dotc.typer.Typer.typedUnadapted(Typer.scala:3530)
at dotty.tools.dotc.typer.Typer.typed(Typer.scala:3608)
at dotty.tools.dotc.typer.Typer.typed(Typer.scala:3612)
at dotty.tools.dotc.typer.Typer.typedExpr(Typer.scala:3723)
at dotty.tools.dotc.transform.Erasure$Typer.typedTypeApply(Erasure.scala:823)
at dotty.tools.dotc.typer.Typer.typedUnnamed$1(Typer.scala:3466)
at dotty.tools.dotc.typer.Typer.typedUnadapted(Typer.scala:3531)
at dotty.tools.dotc.typer.Typer.typed(Typer.scala:3608)
at dotty.tools.dotc.typer.Typer.typed(Typer.scala:3612)
at dotty.tools.dotc.typer.Typer.typedExpr(Typer.scala:3723)
at dotty.tools.dotc.transform.Erasure$Typer.typedApply(Erasure.scala:850)
at dotty.tools.dotc.typer.Typer.typedUnnamed$1(Typer.scala:3446)
at dotty.tools.dotc.typer.Typer.typedUnadapted(Typer.scala:3531)
at dotty.tools.dotc.typer.Typer.typed(Typer.scala:3608)
at dotty.tools.dotc.typer.Typer.typed(Typer.scala:3612)
at dotty.tools.dotc.transform.Erasure$Typer.typedTyped(Erasure.scala:640)
at dotty.tools.dotc.typer.Typer.typedUnnamed$1(Typer.scala:3451)
at dotty.tools.dotc.typer.Typer.typedUnadapted(Typer.scala:3531)
at dotty.tools.dotc.typer.Typer.typed(Typer.scala:3608)
at dotty.tools.dotc.typer.Typer.typed(Typer.scala:3612)
at dotty.tools.dotc.typer.Typer.typedExpr(Typer.scala:3723)
at dotty.tools.dotc.typer.Typer.typedBlock(Typer.scala:1419)
at dotty.tools.dotc.typer.Typer.typedUnnamed$1(Typer.scala:3454)
at dotty.tools.dotc.typer.Typer.typedUnadapted(Typer.scala:3531)
at dotty.tools.dotc.typer.Typer.typed(Typer.scala:3608)
at dotty.tools.dotc.typer.Typer.typed(Typer.scala:3612)
at dotty.tools.dotc.transform.Erasure$Typer.typedTyped(Erasure.scala:640)
at dotty.tools.dotc.typer.Typer.typedUnnamed$1(Typer.scala:3451)
at dotty.tools.dotc.typer.Typer.typedUnadapted(Typer.scala:3531)
at dotty.tools.dotc.typer.Typer.typed(Typer.scala:3608)
at dotty.tools.dotc.typer.Typer.typed(Typer.scala:3612)
at dotty.tools.dotc.typer.ReTyper.typedInlined(ReTyper.scala:100)
at dotty.tools.dotc.transform.Erasure$Typer.typedInlined(Erasure.scala:911)
at dotty.tools.dotc.typer.Typer.typedUnnamed$1(Typer.scala:3469)
at dotty.tools.dotc.typer.Typer.typedUnadapted(Typer.scala:3531)
at dotty.tools.dotc.typer.Typer.typed(Typer.scala:3608)
at dotty.tools.dotc.typer.Typer.typed(Typer.scala:3612)
at dotty.tools.dotc.transform.Erasure$Typer.typedSelect(Erasure.scala:678)
at dotty.tools.dotc.typer.Typer.typedNamed$1(Typer.scala:3421)
at dotty.tools.dotc.typer.Typer.typedUnadapted(Typer.scala:3530)
at dotty.tools.dotc.typer.Typer.typed(Typer.scala:3608)
at dotty.tools.dotc.typer.Typer.typed(Typer.scala:3612)
at dotty.tools.dotc.typer.Typer.typedExpr(Typer.scala:3723)
at dotty.tools.dotc.transform.Erasure$Typer.typedTypeApply(Erasure.scala:823)
at dotty.tools.dotc.typer.Typer.typedUnnamed$1(Typer.scala:3466)
at dotty.tools.dotc.typer.Typer.typedUnadapted(Typer.scala:3531)
at dotty.tools.dotc.typer.Typer.typed(Typer.scala:3608)
at dotty.tools.dotc.typer.Typer.typed(Typer.scala:3612)
at dotty.tools.dotc.typer.Typer.typedExpr(Typer.scala:3723)
at dotty.tools.dotc.transform.Erasure$Typer.typedApply(Erasure.scala:850)
at dotty.tools.dotc.typer.Typer.typedUnnamed$1(Typer.scala:3446)
at dotty.tools.dotc.typer.Typer.typedUnadapted(Typer.scala:3531)
at dotty.tools.dotc.typer.Typer.typed(Typer.scala:3608)
at dotty.tools.dotc.typer.Typer.typed(Typer.scala:3612)
at dotty.tools.dotc.transform.Erasure$Typer.typedTyped(Erasure.scala:640)
at dotty.tools.dotc.typer.Typer.typedUnnamed$1(Typer.scala:3451)
at dotty.tools.dotc.typer.Typer.typedUnadapted(Typer.scala:3531)
at dotty.tools.dotc.typer.Typer.typed(Typer.scala:3608)
at dotty.tools.dotc.typer.Typer.typed(Typer.scala:3612)
at dotty.tools.dotc.typer.Typer.typedExpr(Typer.scala:3723)
at dotty.tools.dotc.typer.Typer.typedBlock(Typer.scala:1419)
at dotty.tools.dotc.typer.Typer.typedUnnamed$1(Typer.scala:3454)
at dotty.tools.dotc.typer.Typer.typedUnadapted(Typer.scala:3531)
at dotty.tools.dotc.typer.Typer.typed(Typer.scala:3608)
at dotty.tools.dotc.typer.Typer.typed(Typer.scala:3612)
at dotty.tools.dotc.transform.Erasure$Typer.typedTyped(Erasure.scala:640)
at dotty.tools.dotc.typer.Typer.typedUnnamed$1(Typer.scala:3451)
at dotty.tools.dotc.typer.Typer.typedUnadapted(Typer.scala:3531)
at dotty.tools.dotc.typer.Typer.typed(Typer.scala:3608)
at dotty.tools.dotc.typer.Typer.typed(Typer.scala:3612)
at dotty.tools.dotc.typer.ReTyper.typedInlined(ReTyper.scala:100)
at dotty.tools.dotc.transform.Erasure$Typer.typedInlined(Erasure.scala:911)
at dotty.tools.dotc.typer.Typer.typedUnnamed$1(Typer.scala:3469)
at dotty.tools.dotc.typer.Typer.typedUnadapted(Typer.scala:3531)
at dotty.tools.dotc.typer.Typer.typed(Typer.scala:3608)
at dotty.tools.dotc.typer.Typer.typed(Typer.scala:3612)
at dotty.tools.dotc.transform.Erasure$Typer.typedSelect(Erasure.scala:678)
at dotty.tools.dotc.typer.Typer.typedNamed$1(Typer.scala:3421)
at dotty.tools.dotc.typer.Typer.typedUnadapted(Typer.scala:3530)
at dotty.tools.dotc.typer.Typer.typed(Typer.scala:3608)
at dotty.tools.dotc.typer.Typer.typed(Typer.scala:3612)
at dotty.tools.dotc.typer.Typer.typedExpr(Typer.scala:3723)
at dotty.tools.dotc.transform.Erasure$Typer.typedTypeApply(Erasure.scala:823)
at dotty.tools.dotc.typer.Typer.typedUnnamed$1(Typer.scala:3466)
at dotty.tools.dotc.typer.Typer.typedUnadapted(Typer.scala:3531)
at dotty.tools.dotc.typer.Typer.typed(Typer.scala:3608)
at dotty.tools.dotc.typer.Typer.typed(Typer.scala:3612)
at dotty.tools.dotc.typer.Typer.typedExpr(Typer.scala:3723)
at dotty.tools.dotc.transform.Erasure$Typer.typedApply(Erasure.scala:850)
at dotty.tools.dotc.typer.Typer.typedUnnamed$1(Typer.scala:3446)
at dotty.tools.dotc.typer.Typer.typedUnadapted(Typer.scala:3531)
at dotty.tools.dotc.typer.Typer.typed(Typer.scala:3608)
at dotty.tools.dotc.typer.Typer.typed(Typer.scala:3612)
at dotty.tools.dotc.transform.Erasure$Typer.typedTyped(Erasure.scala:640)
at dotty.tools.dotc.typer.Typer.typedUnnamed$1(Typer.scala:3451)
at dotty.tools.dotc.typer.Typer.typedUnadapted(Typer.scala:3531)
at dotty.tools.dotc.typer.Typer.typed(Typer.scala:3608)
at dotty.tools.dotc.typer.Typer.typed(Typer.scala:3612)
at dotty.tools.dotc.typer.Typer.typedExpr(Typer.scala:3723)
at dotty.tools.dotc.typer.Typer.typedBlock(Typer.scala:1419)
at dotty.tools.dotc.typer.Typer.typedUnnamed$1(Typer.scala:3454)
at dotty.tools.dotc.typer.Typer.typedUnadapted(Typer.scala:3531)
at dotty.tools.dotc.typer.Typer.typed(Typer.scala:3608)
at dotty.tools.dotc.typer.Typer.typed(Typer.scala:3612)
at dotty.tools.dotc.transform.Erasure$Typer.typedTyped(Erasure.scala:640)
at dotty.tools.dotc.typer.Typer.typedUnnamed$1(Typer.scala:3451)
at dotty.tools.dotc.typer.Typer.typedUnadapted(Typer.scala:3531)
at dotty.tools.dotc.typer.Typer.typed(Typer.scala:3608)
at dotty.tools.dotc.typer.Typer.typed(Typer.scala:3612)
at dotty.tools.dotc.typer.ReTyper.typedInlined(ReTyper.scala:100)
at dotty.tools.dotc.transform.Erasure$Typer.typedInlined(Erasure.scala:911)
at dotty.tools.dotc.typer.Typer.typedUnnamed$1(Typer.scala:3469)
at dotty.tools.dotc.typer.Typer.typedUnadapted(Typer.scala:3531)
at dotty.tools.dotc.typer.Typer.typed(Typer.scala:3608)
at dotty.tools.dotc.typer.Typer.typed(Typer.scala:3612)
at dotty.tools.dotc.transform.Erasure$Typer.typedSelect(Erasure.scala:678)
at dotty.tools.dotc.typer.Typer.typedNamed$1(Typer.scala:3421)
at dotty.tools.dotc.typer.Typer.typedUnadapted(Typer.scala:3530)
at dotty.tools.dotc.typer.Typer.typed(Typer.scala:3608)
at dotty.tools.dotc.typer.Typer.typed(Typer.scala:3612)
at dotty.tools.dotc.typer.Typer.typedExpr(Typer.scala:3723)
at dotty.tools.dotc.transform.Erasure$Typer.typedTypeApply(Erasure.scala:823)
at dotty.tools.dotc.typer.Typer.typedUnnamed$1(Typer.scala:3466)
at dotty.tools.dotc.typer.Typer.typedUnadapted(Typer.scala:3531)
at dotty.tools.dotc.typer.Typer.typed(Typer.scala:3608)
at dotty.tools.dotc.typer.Typer.typed(Typer.scala:3612)
at dotty.tools.dotc.typer.Typer.typedExpr(Typer.scala:3723)
at dotty.tools.dotc.transform.Erasure$Typer.typedApply(Erasure.scala:850)
at dotty.tools.dotc.typer.Typer.typedUnnamed$1(Typer.scala:3446)
at dotty.tools.dotc.typer.Typer.typedUnadapted(Typer.scala:3531)
at dotty.tools.dotc.typer.Typer.typed(Typer.scala:3608)
at dotty.tools.dotc.typer.Typer.typed(Typer.scala:3612)
at dotty.tools.dotc.transform.Erasure$Typer.typedTyped(Erasure.scala:640)
at dotty.tools.dotc.typer.Typer.typedUnnamed$1(Typer.scala:3451)
at dotty.tools.dotc.typer.Typer.typedUnadapted(Typer.scala:3531)
at dotty.tools.dotc.typer.Typer.typed(Typer.scala:3608)
at dotty.tools.dotc.typer.Typer.typed(Typer.scala:3612)
at dotty.tools.dotc.typer.Typer.typedExpr(Typer.scala:3723)
at dotty.tools.dotc.typer.Typer.typedBlock(Typer.scala:1419)
at dotty.tools.dotc.typer.Typer.typedUnnamed$1(Typer.scala:3454)
at dotty.tools.dotc.typer.Typer.typedUnadapted(Typer.scala:3531)
at dotty.tools.dotc.typer.Typer.typed(Typer.scala:3608)
at dotty.tools.dotc.typer.Typer.typed(Typer.scala:3612)
at dotty.tools.dotc.transform.Erasure$Typer.typedTyped(Erasure.scala:640)
at dotty.tools.dotc.typer.Typer.typedUnnamed$1(Typer.scala:3451)
at dotty.tools.dotc.typer.Typer.typedUnadapted(Typer.scala:3531)
at dotty.tools.dotc.typer.Typer.typed(Typer.scala:3608)
at dotty.tools.dotc.typer.Typer.typed(Typer.scala:3612)
at dotty.tools.dotc.typer.ReTyper.typedInlined(ReTyper.scala:100)
at dotty.tools.dotc.transform.Erasure$Typer.typedInlined(Erasure.scala:911)
at dotty.tools.dotc.typer.Typer.typedUnnamed$1(Typer.scala:3469)
at dotty.tools.dotc.typer.Typer.typedUnadapted(Typer.scala:3531)
at dotty.tools.dotc.typer.Typer.typed(Typer.scala:3608)
at dotty.tools.dotc.typer.Typer.typed(Typer.scala:3612)
at dotty.tools.dotc.transform.Erasure$Typer.typedSelect(Erasure.scala:678)
at dotty.tools.dotc.typer.Typer.typedNamed$1(Typer.scala:3421)
at dotty.tools.dotc.typer.Typer.typedUnadapted(Typer.scala:3530)
at dotty.tools.dotc.typer.Typer.typed(Typer.scala:3608)
at dotty.tools.dotc.typer.Typer.typed(Typer.scala:3612)
at dotty.tools.dotc.typer.Typer.typedExpr(Typer.scala:3723)
at dotty.tools.dotc.transform.Erasure$Typer.typedTypeApply(Erasure.scala:823)
at dotty.tools.dotc.typer.Typer.typedUnnamed$1(Typer.scala:3466)
at dotty.tools.dotc.typer.Typer.typedUnadapted(Typer.scala:3531)
at dotty.tools.dotc.typer.Typer.typed(Typer.scala:3608)
at dotty.tools.dotc.typer.Typer.typed(Typer.scala:3612)
at dotty.tools.dotc.typer.Typer.typedExpr(Typer.scala:3723)
at dotty.tools.dotc.transform.Erasure$Typer.typedApply(Erasure.scala:850)
at dotty.tools.dotc.typer.Typer.typedUnnamed$1(Typer.scala:3446)
at dotty.tools.dotc.typer.Typer.typedUnadapted(Typer.scala:3531)
at dotty.tools.dotc.typer.Typer.typed(Typer.scala:3608)
at dotty.tools.dotc.typer.Typer.typed(Typer.scala:3612)
at dotty.tools.dotc.transform.Erasure$Typer.typedTyped(Erasure.scala:640)
at dotty.tools.dotc.typer.Typer.typedUnnamed$1(Typer.scala:3451)
at dotty.tools.dotc.typer.Typer.typedUnadapted(Typer.scala:3531)
at dotty.tools.dotc.typer.Typer.typed(Typer.scala:3608)
at dotty.tools.dotc.typer.Typer.typed(Typer.scala:3612)
at dotty.tools.dotc.typer.Typer.typedExpr(Typer.scala:3723)
at dotty.tools.dotc.typer.Typer.typedBlock(Typer.scala:1419)
at dotty.tools.dotc.typer.Typer.typedUnnamed$1(Typer.scala:3454)
at dotty.tools.dotc.typer.Typer.typedUnadapted(Typer.scala:3531)
at dotty.tools.dotc.typer.Typer.typed(Typer.scala:3608)
at dotty.tools.dotc.typer.Typer.typed(Typer.scala:3612)
at dotty.tools.dotc.transform.Erasure$Typer.typedTyped(Erasure.scala:640)
at dotty.tools.dotc.typer.Typer.typedUnnamed$1(Typer.scala:3451)
at dotty.tools.dotc.typer.Typer.typedUnadapted(Typer.scala:3531)
at dotty.tools.dotc.typer.Typer.typed(Typer.scala:3608)
at dotty.tools.dotc.typer.Typer.typed(Typer.scala:3612)
at dotty.tools.dotc.typer.ReTyper.typedInlined(ReTyper.scala:100)
at dotty.tools.dotc.transform.Erasure$Typer.typedInlined(Erasure.scala:911)
at dotty.tools.dotc.typer.Typer.typedUnnamed$1(Typer.scala:3469)
at dotty.tools.dotc.typer.Typer.typedUnadapted(Typer.scala:3531)
at dotty.tools.dotc.typer.Typer.typed(Typer.scala:3608)
at dotty.tools.dotc.typer.Typer.typed(Typer.scala:3612)
at dotty.tools.dotc.transform.Erasure$Typer.typedSelect(Erasure.scala:678)
at dotty.tools.dotc.typer.Typer.typedNamed$1(Typer.scala:3421)
at dotty.tools.dotc.typer.Typer.typedUnadapted(Typer.scala:3530)
at dotty.tools.dotc.typer.Typer.typed(Typer.scala:3608)
at dotty.tools.dotc.typer.Typer.typed(Typer.scala:3612)
at dotty.tools.dotc.typer.Typer.typedExpr(Typer.scala:3723)
at dotty.tools.dotc.transform.Erasure$Typer.typedTypeApply(Erasure.scala:823)
at dotty.tools.dotc.typer.Typer.typedUnnamed$1(Typer.scala:3466)
at dotty.tools.dotc.typer.Typer.typedUnadapted(Typer.scala:3531)
at dotty.tools.dotc.typer.Typer.typed(Typer.scala:3608)
at dotty.tools.dotc.typer.Typer.typed(Typer.scala:3612)
at dotty.tools.dotc.typer.Typer.typedExpr(Typer.scala:3723)
at dotty.tools.dotc.transform.Erasure$Typer.typedApply(Erasure.scala:850)
at dotty.tools.dotc.typer.Typer.typedUnnamed$1(Typer.scala:3446)
at dotty.tools.dotc.typer.Typer.typedUnadapted(Typer.scala:3531)
at dotty.tools.dotc.typer.Typer.typed(Typer.scala:3608)
at dotty.tools.dotc.typer.Typer.typed(Typer.scala:3612)
at dotty.tools.dotc.transform.Erasure$Typer.typedTyped(Erasure.scala:640)
at dotty.tools.dotc.typer.Typer.typedUnnamed$1(Typer.scala:3451)
at dotty.tools.dotc.typer.Typer.typedUnadapted(Typer.scala:3531)
at dotty.tools.dotc.typer.Typer.typed(Typer.scala:3608)
at dotty.tools.dotc.typer.Typer.typed(Typer.scala:3612)
at dotty.tools.dotc.typer.Typer.typedExpr(Typer.scala:3723)
at dotty.tools.dotc.typer.Typer.typedBlock(Typer.scala:1419)
at dotty.tools.dotc.typer.Typer.typedUnnamed$1(Typer.scala:3454)
at dotty.tools.dotc.typer.Typer.typedUnadapted(Typer.scala:3531)
at dotty.tools.dotc.typer.Typer.typed(Typer.scala:3608)
at dotty.tools.dotc.typer.Typer.typed(Typer.scala:3612)
at dotty.tools.dotc.transform.Erasure$Typer.typedTyped(Erasure.scala:640)
at dotty.tools.dotc.typer.Typer.typedUnnamed$1(Typer.scala:3451)
at dotty.tools.dotc.typer.Typer.typedUnadapted(Typer.scala:3531)
at dotty.tools.dotc.typer.Typer.typed(Typer.scala:3608)
at dotty.tools.dotc.typer.Typer.typed(Typer.scala:3612)
at dotty.tools.dotc.typer.ReTyper.typedInlined(ReTyper.scala:100)
at dotty.tools.dotc.transform.Erasure$Typer.typedInlined(Erasure.scala:911)
at dotty.tools.dotc.typer.Typer.typedUnnamed$1(Typer.scala:3469)
at dotty.tools.dotc.typer.Typer.typedUnadapted(Typer.scala:3531)
at dotty.tools.dotc.typer.Typer.typed(Typer.scala:3608)
at dotty.tools.dotc.typer.Typer.typed(Typer.scala:3612)
at dotty.tools.dotc.transform.Erasure$Typer.typedSelect(Erasure.scala:678)
at dotty.tools.dotc.typer.Typer.typedNamed$1(Typer.scala:3421)
at dotty.tools.dotc.typer.Typer.typedUnadapted(Typer.scala:3530)
at dotty.tools.dotc.typer.Typer.typed(Typer.scala:3608)
at dotty.tools.dotc.typer.Typer.typed(Typer.scala:3612)
at dotty.tools.dotc.typer.Typer.typedExpr(Typer.scala:3723)
at dotty.tools.dotc.transform.Erasure$Typer.typedTypeApply(Erasure.scala:823)
at dotty.tools.dotc.typer.Typer.typedUnnamed$1(Typer.scala:3466)
at dotty.tools.dotc.typer.Typer.typedUnadapted(Typer.scala:3531)
at dotty.tools.dotc.typer.Typer.typed(Typer.scala:3608)
at dotty.tools.dotc.typer.Typer.typed(Typer.scala:3612)
at dotty.tools.dotc.typer.Typer.typedExpr(Typer.scala:3723)
at dotty.tools.dotc.transform.Erasure$Typer.typedApply(Erasure.scala:850)
at dotty.tools.dotc.typer.Typer.typedUnnamed$1(Typer.scala:3446)
at dotty.tools.dotc.typer.Typer.typedUnadapted(Typer.scala:3531)
at dotty.tools.dotc.typer.Typer.typed(Typer.scala:3608)
at dotty.tools.dotc.typer.Typer.typed(Typer.scala:3612)
at dotty.tools.dotc.transform.Erasure$Typer.typedTyped(Erasure.scala:640)
at dotty.tools.dotc.typer.Typer.typedUnnamed$1(Typer.scala:3451)
at dotty.tools.dotc.typer.Typer.typedUnadapted(Typer.scala:3531)
at dotty.tools.dotc.typer.Typer.typed(Typer.scala:3608)
at dotty.tools.dotc.typer.Typer.typed(Typer.scala:3612)
at dotty.tools.dotc.typer.Typer.typedExpr(Typer.scala:3723)
at dotty.tools.dotc.typer.Typer.typedBlock(Typer.scala:1419)
at dotty.tools.dotc.typer.Typer.typedUnnamed$1(Typer.scala:3454)
at dotty.tools.dotc.typer.Typer.typedUnadapted(Typer.scala:3531)
at dotty.tools.dotc.typer.Typer.typed(Typer.scala:3608)
at dotty.tools.dotc.typer.Typer.typed(Typer.scala:3612)
at dotty.tools.dotc.transform.Erasure$Typer.typedTyped(Erasure.scala:640)
at dotty.tools.dotc.typer.Typer.typedUnnamed$1(Typer.scala:3451)
at dotty.tools.dotc.typer.Typer.typedUnadapted(Typer.scala:3531)
at dotty.tools.dotc.typer.Typer.typed(Typer.scala:3608)
at dotty.tools.dotc.typer.Typer.typed(Typer.scala:3612)
at dotty.tools.dotc.typer.ReTyper.typedInlined(ReTyper.scala:100)
at dotty.tools.dotc.transform.Erasure$Typer.typedInlined(Erasure.scala:911)
at dotty.tools.dotc.typer.Typer.typedUnnamed$1(Typer.scala:3469)
at dotty.tools.dotc.typer.Typer.typedUnadapted(Typer.scala:3531)
at dotty.tools.dotc.typer.Typer.typed(Typer.scala:3608)
at dotty.tools.dotc.typer.Typer.typed(Typer.scala:3612)
at dotty.tools.dotc.transform.Erasure$Typer.typedSelect(Erasure.scala:678)
at dotty.tools.dotc.typer.Typer.typedNamed$1(Typer.scala:3421)
at dotty.tools.dotc.typer.Typer.typedUnadapted(Typer.scala:3530)
at dotty.tools.dotc.typer.Typer.typed(Typer.scala:3608)
at dotty.tools.dotc.typer.Typer.typed(Typer.scala:3612)
at dotty.tools.dotc.typer.Typer.typedExpr(Typer.scala:3723)
at dotty.tools.dotc.transform.Erasure$Typer.typedTypeApply(Erasure.scala:823)
at dotty.tools.dotc.typer.Typer.typedUnnamed$1(Typer.scala:3466)
at dotty.tools.dotc.typer.Typer.typedUnadapted(Typer.scala:3531)
at dotty.tools.dotc.typer.Typer.typed(Typer.scala:3608)
at dotty.tools.dotc.typer.Typer.typed(Typer.scala:3612)
at dotty.tools.dotc.typer.Typer.typedExpr(Typer.scala:3723)
at dotty.tools.dotc.transform.Erasure$Typer.typedApply(Erasure.scala:850)
at dotty.tools.dotc.typer.Typer.typedUnnamed$1(Typer.scala:3446)
at dotty.tools.dotc.typer.Typer.typedUnadapted(Typer.scala:3531)
at dotty.tools.dotc.typer.Typer.typed(Typer.scala:3608)
at dotty.tools.dotc.typer.Typer.typed(Typer.scala:3612)
at dotty.tools.dotc.transform.Erasure$Typer.typedTyped(Erasure.scala:640)
at dotty.tools.dotc.typer.Typer.typedUnnamed$1(Typer.scala:3451)
at dotty.tools.dotc.typer.Typer.typedUnadapted(Typer.scala:3531)
at dotty.tools.dotc.typer.Typer.typed(Typer.scala:3608)
at dotty.tools.dotc.typer.Typer.typed(Typer.scala:3612)
at dotty.tools.dotc.typer.Typer.typedExpr(Typer.scala:3723)
at dotty.tools.dotc.typer.Typer.typedBlock(Typer.scala:1419)
at dotty.tools.dotc.typer.Typer.typedUnnamed$1(Typer.scala:3454)
at dotty.tools.dotc.typer.Typer.typedUnadapted(Typer.scala:3531)
at dotty.tools.dotc.typer.Typer.typed(Typer.scala:3608)
at dotty.tools.dotc.typer.Typer.typed(Typer.scala:3612)
at dotty.tools.dotc.transform.Erasure$Typer.typedTyped(Erasure.scala:640)
at dotty.tools.dotc.typer.Typer.typedUnnamed$1(Typer.scala:3451)
at dotty.tools.dotc.typer.Typer.typedUnadapted(Typer.scala:3531)
at dotty.tools.dotc.typer.Typer.typed(Typer.scala:3608)
at dotty.tools.dotc.typer.Typer.typed(Typer.scala:3612)
at dotty.tools.dotc.typer.ReTyper.typedInlined(ReTyper.scala:100)
at dotty.tools.dotc.transform.Erasure$Typer.typedInlined(Erasure.scala:911)
at dotty.tools.dotc.typer.Typer.typedUnnamed$1(Typer.scala:3469)
at dotty.tools.dotc.typer.Typer.typedUnadapted(Typer.scala:3531)
at dotty.tools.dotc.typer.Typer.typed(Typer.scala:3608)
at dotty.tools.dotc.typer.Typer.typed(Typer.scala:3612)
at dotty.tools.dotc.transform.Erasure$Typer.typedSelect(Erasure.scala:678)
at dotty.tools.dotc.typer.Typer.typedNamed$1(Typer.scala:3421)
at dotty.tools.dotc.typer.Typer.typedUnadapted(Typer.scala:3530)
at dotty.tools.dotc.typer.Typer.typed(Typer.scala:3608)
at dotty.tools.dotc.typer.Typer.typed(Typer.scala:3612)
at dotty.tools.dotc.typer.Typer.typedExpr(Typer.scala:3723)
at dotty.tools.dotc.transform.Erasure$Typer.typedTypeApply(Erasure.scala:823)
at dotty.tools.dotc.typer.Typer.typedUnnamed$1(Typer.scala:3466)
at dotty.tools.dotc.typer.Typer.typedUnadapted(Typer.scala:3531)
at dotty.tools.dotc.typer.Typer.typed(Typer.scala:3608)
at dotty.tools.dotc.typer.Typer.typed(Typer.scala:3612)
at dotty.tools.dotc.typer.Typer.typedExpr(Typer.scala:3723)
at dotty.tools.dotc.transform.Erasure$Typer.typedApply(Erasure.scala:850)
at dotty.tools.dotc.typer.Typer.typedUnnamed$1(Typer.scala:3446)
at dotty.tools.dotc.typer.Typer.typedUnadapted(Typer.scala:3531)
at dotty.tools.dotc.typer.Typer.typed(Typer.scala:3608)
at dotty.tools.dotc.typer.Typer.typed(Typer.scala:3612)
at dotty.tools.dotc.transform.Erasure$Typer.typedTyped(Erasure.scala:640)
at dotty.tools.dotc.typer.Typer.typedUnnamed$1(Typer.scala:3451)
at dotty.tools.dotc.typer.Typer.typedUnadapted(Typer.scala:3531)
at dotty.tools.dotc.typer.Typer.typed(Typer.scala:3608)
at dotty.tools.dotc.typer.Typer.typed(Typer.scala:3612)
at dotty.tools.dotc.typer.Typer.typedExpr(Typer.scala:3723)
at dotty.tools.dotc.typer.Typer.typedBlock(Typer.scala:1419)
at dotty.tools.dotc.typer.Typer.typedUnnamed$1(Typer.scala:3454)
at dotty.tools.dotc.typer.Typer.typedUnadapted(Typer.scala:3531)
at dotty.tools.dotc.typer.Typer.typed(Typer.scala:3608)
at dotty.tools.dotc.typer.Typer.typed(Typer.scala:3612)
at dotty.tools.dotc.transform.Erasure$Typer.typedTyped(Erasure.scala:640)
at dotty.tools.dotc.typer.Typer.typedUnnamed$1(Typer.scala:3451)
at dotty.tools.dotc.typer.Typer.typedUnadapted(Typer.scala:3531)
at dotty.tools.dotc.typer.Typer.typed(Typer.scala:3608)
at dotty.tools.dotc.typer.Typer.typed(Typer.scala:3612)
at dotty.tools.dotc.typer.ReTyper.typedInlined(ReTyper.scala:100)
at dotty.tools.dotc.transform.Erasure$Typer.typedInlined(Erasure.scala:911)
at dotty.tools.dotc.typer.Typer.typedUnnamed$1(Typer.scala:3469)
at dotty.tools.dotc.typer.Typer.typedUnadapted(Typer.scala:3531)
at dotty.tools.dotc.typer.Typer.typed(Typer.scala:3608)
at dotty.tools.dotc.typer.Typer.typed(Typer.scala:3612)
at dotty.tools.dotc.typer.Typer.typedExpr(Typer.scala:3723)
at dotty.tools.dotc.transform.Erasure$Typer.$anonfun$7(Erasure.scala:863)
at dotty.tools.dotc.core.Decorators$.zipWithConserve(Decorators.scala:160)
at dotty.tools.dotc.transform.Erasure$Typer.typedApply(Erasure.scala:863)
at dotty.tools.dotc.typer.Typer.typedUnnamed$1(Typer.scala:3446)
at dotty.tools.dotc.typer.Typer.typedUnadapted(Typer.scala:3531)
at dotty.tools.dotc.typer.Typer.typed(Typer.scala:3608)
at dotty.tools.dotc.typer.Typer.typed(Typer.scala:3612)
at dotty.tools.dotc.typer.Typer.typedExpr(Typer.scala:3723)
at dotty.tools.dotc.typer.Typer.$anonfun$65(Typer.scala:2865)
at dotty.tools.dotc.inlines.PrepareInlineable$.dropInlineIfError(PrepareInlineable.scala:256)
at dotty.tools.dotc.typer.Typer.typedDefDef(Typer.scala:2865)
at dotty.tools.dotc.transform.Erasure$Typer.typedDefDef(Erasure.scala:969)
at dotty.tools.dotc.typer.Typer.typedNamed$1(Typer.scala:3428)
at dotty.tools.dotc.typer.Typer.typedUnadapted(Typer.scala:3530)
at dotty.tools.dotc.typer.Typer.typed(Typer.scala:3608)
at dotty.tools.dotc.typer.Typer.typed(Typer.scala:3612)
at dotty.tools.dotc.typer.Typer.traverse$1(Typer.scala:3634)
at dotty.tools.dotc.typer.Typer.typedStats(Typer.scala:3680)
at dotty.tools.dotc.transform.Erasure$Typer.typedStats(Erasure.scala:1082)
at dotty.tools.dotc.typer.Typer.typedClassDef(Typer.scala:3128)
at dotty.tools.dotc.transform.Erasure$Typer.typedClassDef(Erasure.scala:1058)
at dotty.tools.dotc.typer.Typer.typedTypeOrClassDef$1(Typer.scala:3434)
at dotty.tools.dotc.typer.Typer.typedNamed$1(Typer.scala:3438)
at dotty.tools.dotc.typer.Typer.typedUnadapted(Typer.scala:3530)
at dotty.tools.dotc.typer.Typer.typed(Typer.scala:3608)
at dotty.tools.dotc.typer.Typer.typed(Typer.scala:3612)
at dotty.tools.dotc.typer.Typer.traverse$1(Typer.scala:3634)
at dotty.tools.dotc.typer.Typer.typedStats(Typer.scala:3680)
at dotty.tools.dotc.transform.Erasure$Typer.typedStats(Erasure.scala:1082)
at dotty.tools.dotc.typer.Typer.typedBlockStats(Typer.scala:1412)
at dotty.tools.dotc.typer.Typer.typedBlock(Typer.scala:1416)
at dotty.tools.dotc.typer.Typer.typedUnnamed$1(Typer.scala:3454)
at dotty.tools.dotc.typer.Typer.typedUnadapted(Typer.scala:3531)
at dotty.tools.dotc.typer.Typer.typed(Typer.scala:3608)
at dotty.tools.dotc.typer.Typer.typed(Typer.scala:3612)
at dotty.tools.dotc.transform.Erasure$Typer.typedTyped(Erasure.scala:640)
at dotty.tools.dotc.typer.Typer.typedUnnamed$1(Typer.scala:3451)
at dotty.tools.dotc.typer.Typer.typedUnadapted(Typer.scala:3531)
at dotty.tools.dotc.typer.Typer.typed(Typer.scala:3608)
at dotty.tools.dotc.typer.Typer.typed(Typer.scala:3612)
at dotty.tools.dotc.typer.ReTyper.typedInlined(ReTyper.scala:100)
at dotty.tools.dotc.transform.Erasure$Typer.typedInlined(Erasure.scala:911)
at dotty.tools.dotc.typer.Typer.typedUnnamed$1(Typer.scala:3469)
at dotty.tools.dotc.typer.Typer.typedUnadapted(Typer.scala:3531)
at dotty.tools.dotc.typer.Typer.typed(Typer.scala:3608)
at dotty.tools.dotc.typer.Typer.typed(Typer.scala:3612)
at dotty.tools.dotc.typer.Typer.typedExpr(Typer.scala:3723)
at dotty.tools.dotc.typer.Typer.$anonfun$65(Typer.scala:2865)
at dotty.tools.dotc.inlines.PrepareInlineable$.dropInlineIfError(PrepareInlineable.scala:256)
at dotty.tools.dotc.typer.Typer.typedDefDef(Typer.scala:2865)
at dotty.tools.dotc.transform.Erasure$Typer.typedDefDef(Erasure.scala:969)
at dotty.tools.dotc.typer.Typer.typedNamed$1(Typer.scala:3428)
at dotty.tools.dotc.typer.Typer.typedUnadapted(Typer.scala:3530)
at dotty.tools.dotc.typer.Typer.typed(Typer.scala:3608)
at dotty.tools.dotc.typer.Typer.typed(Typer.scala:3612)
at dotty.tools.dotc.typer.Typer.traverse$1(Typer.scala:3634)
at dotty.tools.dotc.typer.Typer.typedStats(Typer.scala:3680)
at dotty.tools.dotc.transform.Erasure$Typer.typedStats(Erasure.scala:1082)
at dotty.tools.dotc.typer.Typer.typedClassDef(Typer.scala:3128)
at dotty.tools.dotc.transform.Erasure$Typer.typedClassDef(Erasure.scala:1058)
at dotty.tools.dotc.typer.Typer.typedTypeOrClassDef$1(Typer.scala:3434)
at dotty.tools.dotc.typer.Typer.typedNamed$1(Typer.scala:3438)
at dotty.tools.dotc.typer.Typer.typedUnadapted(Typer.scala:3530)
at dotty.tools.dotc.typer.Typer.typed(Typer.scala:3608)
at dotty.tools.dotc.typer.Typer.typed(Typer.scala:3612)
at dotty.tools.dotc.typer.Typer.traverse$1(Typer.scala:3634)
at dotty.tools.dotc.typer.Typer.typedStats(Typer.scala:3680)
at dotty.tools.dotc.transform.Erasure$Typer.typedStats(Erasure.scala:1082)
at dotty.tools.dotc.typer.Typer.typedPackageDef(Typer.scala:3261)
at dotty.tools.dotc.typer.Typer.typedUnnamed$1(Typer.scala:3480)
at dotty.tools.dotc.typer.Typer.typedUnadapted(Typer.scala:3531)
at dotty.tools.dotc.typer.Typer.typed(Typer.scala:3608)
at dotty.tools.dotc.typer.Typer.typed(Typer.scala:3612)
at dotty.tools.dotc.typer.Typer.typedExpr(Typer.scala:3723)
at dotty.tools.dotc.transform.Erasure.run(Erasure.scala:145)
at dotty.tools.dotc.core.Phases$Phase.runOn$$anonfun$1(Phases.scala:380)
at scala.runtime.function.JProcedure1.apply(JProcedure1.java:15)
at scala.runtime.function.JProcedure1.apply(JProcedure1.java:10)
at scala.collection.immutable.List.foreach(List.scala:334)
at dotty.tools.dotc.core.Phases$Phase.runOn(Phases.scala:373)
at dotty.tools.dotc.Run.runPhases$1$$anonfun$1(Run.scala:343)
at scala.runtime.function.JProcedure1.apply(JProcedure1.java:15)
at scala.runtime.function.JProcedure1.apply(JProcedure1.java:10)
at scala.collection.ArrayOps$.foreach$extension(ArrayOps.scala:1323)
at dotty.tools.dotc.Run.runPhases$1(Run.scala:336)
at dotty.tools.dotc.Run.compileUnits$$anonfun$1(Run.scala:384)
at dotty.tools.dotc.Run.compileUnits$$anonfun$adapted$1(Run.scala:396)
at dotty.tools.dotc.util.Stats$.maybeMonitored(Stats.scala:69)
at dotty.tools.dotc.Run.compileUnits(Run.scala:396)
at dotty.tools.dotc.Run.compileSources(Run.scala:282)
at dotty.tools.dotc.Run.compile(Run.scala:267)
at dotty.tools.dotc.Driver.doCompile(Driver.scala:37)
at dotty.tools.dotc.Driver.process(Driver.scala:201)
at dotty.tools.dotc.Driver.process(Driver.scala:169)
at dotty.tools.dotc.Driver.process(Driver.scala:181)
at dotty.tools.dotc.Driver.main(Driver.scala:211)
at dotty.tools.dotc.Main.main(Main.scala)
unhandled exception while running erasure on /Users/wmazur/projects/sandbox/src/main/scala/schema.scala
An unhandled exception was thrown in the compiler.
Please file a crash report here:
https://github.com/scala/scala3/issues/new/choose
For non-enriched exceptions, compile with -Xno-enrich-error-messages.
while compiling: /Users/wmazur/projects/sandbox/src/main/scala/schema.scala
during phase: erasure
mode: Mode(ImplicitsEnabled)
library version: version 2.13.14
compiler version: version 3.6.0-RC1-bin-SNAPSHOT-nonbootstrapped-git-c09154a
settings: -classpath /Users/wmazur/Library/Caches/Coursier/v1/https/repo1.maven.org/maven2/org/scala-lang/scala-library/2.13.14/scala-library-2.13.14.jar:/Users/wmazur/projects/scala3/library/../out/bootstrap/scala3-library-bootstrapped/scala-3.6.0-RC1-bin-SNAPSHOT-nonbootstrapped/scala3-library_3-3.6.0-RC1-bin-SNAPSHOT.jar -d out/test |
I think we should revert 8a41389 in main as well. @EugeneFlesselle can you do that? |
Yes I agree, I'll do that this morning. |
This reverts commit 7c4bd67 See [#21344 comment] (#21344 (comment)) We will have to reconsider how to alleviate the transitory problem before releasing 3.6. Fixes #21320 Fixes #21352
This reverts commit 7c4bd67 See #21344 (comment) Fixes #21320 [Cherry-picked 58f3407][modified]
Compiler version
Last good release: 3.6.0-RC1-bin-20240719-af933c4-NIGHTLY
First bad release: 3.6.0-RC1-bin-20240723-46ff151-NIGHTLY
Bisect points to 2facda0, maybe related to #21303
Minimized code
Output (click arrow to expand)
The text was updated successfully, but these errors were encountered: