Skip to content
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

Compiling standard library with -experimental causes AssertionError #20730

Open
e45lee opened this issue Jun 21, 2024 · 5 comments
Open

Compiling standard library with -experimental causes AssertionError #20730

e45lee opened this issue Jun 21, 2024 · 5 comments
Labels
area:experimental area:posttyper Issues caught during the posttyper compiler phase. area:typer itype:bug stat:needs minimization Needs a self contained minimization

Comments

@e45lee
Copy link

e45lee commented Jun 21, 2024

Compiling the bootstrapped standard library with scala2-library-bootstrapped/compile causes an AssertionError similar to #20421
if you add -experimental as a compile-time option to scalac. I think this is similar to what's happening in #20409.

Compiler version

Latest main

Minimized code

diff --git a/project/Build.scala b/project/Build.scala
index c1a8800421..818f40430c 100644
--- a/project/Build.scala
+++ b/project/Build.scala
@@ -1074,7 +1074,9 @@ object Build {
     dependsOn(dottyCompiler(Bootstrapped) % "provided; compile->runtime; test->test").
     settings(commonBootstrappedSettings).
     settings(scala2LibraryBootstrappedSettings).
-    settings(moduleName := "scala2-library")
+    settings(moduleName := "scala2-library",
+             scalacOptions -= "-Yno:experimental").
+    settings(scalacOptions += "-experimental")
     // -Ycheck:all is set in project/scripts/scala2-library-tasty-mima.sh

Output

sbt:scala3> scala2-library-bootstrapped/compile
[info] compiling 536 Scala sources and 32 Java sources to /home/fish/scala3-base/out/bootstrap/scala2-library-bootstrapped/scala-3.5.1-RC1-bin-SNAPSHOT-nonbootstrapped/classes ...
exception caught when loading module class module-info$: java.lang.AssertionError: assertion failed: attempt to parse java.lang.Object from classfile
error while transforming package <empty> {
  import scala.annotation.migration
  package scala {
    final lazy module val package: package = new package()
    final module class package() extends Object() { this: package.type =>
      type Cloneable = java.lang.Cloneable
      type Serializable = java.io.Serializable
      type Throwable = java.lang.Throwable
      type Exception = java.lang.Exception
      type Error = java.lang.Error
      type RuntimeException = java.lang.RuntimeException
      type NullPointerException = java.lang.NullPointerException
      type ClassCastException = java.lang.ClassCastException
      type IndexOutOfBoundsException = java.lang.IndexOutOfBoundsException
      type ArrayIndexOutOfBoundsException =
        java.lang.ArrayIndexOutOfBoundsException
      type StringIndexOutOfBoundsException =
        java.lang.StringIndexOutOfBoundsException
      type UnsupportedOperationException =
        java.lang.UnsupportedOperationException
      type IllegalArgumentException = java.lang.IllegalArgumentException
      type NoSuchElementException = java.util.NoSuchElementException
      type NumberFormatException = java.lang.NumberFormatException
      type AbstractMethodError = java.lang.AbstractMethodError
      type InterruptedException = java.lang.InterruptedException
      val AnyRef: Specializable =
        {
          final class $anon() extends Object(), Specializable {
            override def toString: String = "object AnyRef"
          }
          new $anon():Specializable
        }
      @deprecated("Use IterableOnce instead of TraversableOnce", "2.13.0") type
        TraversableOnce[+A >: Nothing <: Any] = scala.collection.IterableOnce[A]
      type IterableOnce[+A >: Nothing <: Any] = scala.collection.IterableOnce[A]
      @deprecated("Use Iterable instead of Traversable", "2.13.0") type
        Traversable[+A >: Nothing <: Any] = scala.collection.Iterable[A]
      @deprecated("Use Iterable instead of Traversable", "2.13.0") val
        Traversable: scala.collection.Iterable.type = scala.collection.Iterable
      type Iterable[+A >: Nothing <: Any] = scala.collection.Iterable[A]
      val Iterable: scala.collection.Iterable.type = scala.collection.Iterable
      @migration(

          "scala.Seq is now scala.collection.immutable.Seq instead of scala.collection.Seq"
          ,
      "2.13.0") type Seq[+A >: Nothing <: Any] =
        scala.collection.immutable.Seq[A]
      val Seq: scala.collection.immutable.Seq.type =
        scala.collection.immutable.Seq
      @migration(

          "scala.IndexedSeq is now scala.collection.immutable.IndexedSeq instead of scala.collection.IndexedSeq"
          ,
      "2.13.0") type IndexedSeq[+A >: Nothing <: Any] =
        scala.collection.immutable.IndexedSeq[A]
      val IndexedSeq: scala.collection.immutable.IndexedSeq.type =
        scala.collection.immutable.IndexedSeq
      type Iterator[+A >: Nothing <: Any] = scala.collection.Iterator[A]
      val Iterator: scala.collection.Iterator.type = scala.collection.Iterator
      @deprecated(

          "Use scala.collection.BufferedIterator instead of scala.BufferedIterator"
          ,
      "2.13.0") type BufferedIterator[+A >: Nothing <: Any] =
        scala.collection.BufferedIterator[A]
      type List[+A >: Nothing <: Any] = scala.collection.immutable.List[A]
      val List: scala.collection.immutable.List.type =
        scala.collection.immutable.List
      val Nil: scala.collection.immutable.Nil.type =
        scala.collection.immutable.Nil
      type ::[+A >: Nothing <: Any] = scala.collection.immutable.::[A]
      val ::: scala.collection.immutable.::.type = scala.collection.immutable.::
      val +:: scala.collection.+:.type = scala.collection.+:
      val :+: scala.collection.:+.type = scala.collection.:+
      @deprecated("Use LazyList instead of Stream", "2.13.0") type Stream[
        +A >: Nothing <: Any] = scala.collection.immutable.Stream[A]
      @deprecated("Use LazyList instead of Stream", "2.13.0") val Stream:
        scala.collection.immutable.Stream.type =
        scala.collection.immutable.Stream
      type LazyList[+A >: Nothing <: Any] =
        scala.collection.immutable.LazyList[A]
      val LazyList: scala.collection.immutable.LazyList.type =
        scala.collection.immutable.LazyList
      final lazy module val #::: #:: = new #::()
      final module class #::() extends Object() { this: #::.type =>
        def unapply[A >: Nothing <: Any](s: LazyList[A]):
          Option[Tuple2[A, LazyList[A]]] =
          if s.nonEmpty then
            Some.apply[(A, LazyList[A])](
              Tuple2.apply[A, LazyList[A]](s.head, s.tail))
           else None
        @deprecated("Prefer LazyList instead", since = "2.13.0") def unapply[
          A >: Nothing <: Any](s: Stream[A]): Option[Tuple2[A, Stream[A]]] =
          if s.nonEmpty then
            Some.apply[(A, Stream[A])](
              Tuple2.apply[A, Stream[A]](s.head, s.tail))
           else None
      }
      type Vector[+A >: Nothing <: Any] = scala.collection.immutable.Vector[A]
      val Vector: scala.collection.immutable.Vector.type =
        scala.collection.immutable.Vector
      type StringBuilder = scala.collection.mutable.StringBuilder
      val StringBuilder: scala.collection.mutable.StringBuilder.type =
        scala.collection.mutable.StringBuilder
      type Range = scala.collection.immutable.Range
      val Range: scala.collection.immutable.Range.type =
        scala.collection.immutable.Range
      type BigDecimal = scala.math.BigDecimal
      val BigDecimal: scala.math.BigDecimal.type = scala.math.BigDecimal
      type BigInt = scala.math.BigInt
      val BigInt: scala.math.BigInt.type = scala.math.BigInt
      type Equiv[T >: Nothing <: Any] = scala.math.Equiv[T]
      val Equiv: scala.math.Equiv.type = scala.math.Equiv
      type Fractional[T >: Nothing <: Any] = scala.math.Fractional[T]
      val Fractional: scala.math.Fractional.type = scala.math.Fractional
      type Integral[T >: Nothing <: Any] = scala.math.Integral[T]
      val Integral: scala.math.Integral.type = scala.math.Integral
      type Numeric[T >: Nothing <: Any] = scala.math.Numeric[T]
      val Numeric: scala.math.Numeric.type = scala.math.Numeric
      type Ordered[T >: Nothing <: Any] = scala.math.Ordered[T]
      val Ordered: scala.math.Ordered.type = scala.math.Ordered
      type Ordering[T >: Nothing <: Any] = scala.math.Ordering[T]
      val Ordering: scala.math.Ordering.type = scala.math.Ordering
      type PartialOrdering[T >: Nothing <: Any] = scala.math.PartialOrdering[T]
      type PartiallyOrdered[T >: Nothing <: Any] =
        scala.math.PartiallyOrdered[T]
      type Either[+A >: Nothing <: Any, +B >: Nothing <: Any] =
        scala.util.Either[A, B]
      val Either: scala.util.Either.type = scala.util.Either
      type Left[+A >: Nothing <: Any, +B >: Nothing <: Any] =
        scala.util.Left[A, B]
      val Left: scala.util.Left.type = scala.util.Left
      type Right[+A >: Nothing <: Any, +B >: Nothing <: Any] =
        scala.util.Right[A, B]
      val Right: scala.util.Right.type = scala.util.Right
    }
  }
}

  unhandled exception while running posttyper on /home/fish/scala3-base/out/bootstrap/scala2-library-bootstrapped/scala-3.5.1-RC1-bin-SNAPSHOT-nonbootstrapped/src_managed/main/scala-library-src/scala/package.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: /home/fish/scala3-base/out/bootstrap/scala2-library-bootstrapped/scala-3.5.1-RC1-bin-SNAPSHOT-nonbootstrapped/src_managed/main/scala-library-src/scala/package.scala
        during phase: posttyper
                mode: Mode(ImplicitsEnabled)
     library version: version 2.13.12
    compiler version: version 3.5.1-RC1-bin-SNAPSHOT-nonbootstrapped-git-5db826a
            settings: -Ycompile-scala2-library true -classpath /home/fish/scala3-base/out/bootstrap/scala2-library-bootstrapped/scala-3.5.1-RC1-bin-SNAPSHOT-nonbootstrapped/classes:/home/fish/scala3-base/out/bootstrap/scala3-compiler-bootstrapped/scala-3.5.1-RC1-bin-SNAPSHOT-nonbootstrapped/classes:/home/fish/scala3-base/interfaces/target/classes:/home/fish/scala3-base/out/bootstrap/scala3-library-bootstrapped/scala-3.5.1-RC1-bin-SNAPSHOT-nonbootstrapped/classes:/home/fish/scala3-base/out/bootstrap/tasty-core-bootstrapped/scala-3.5.1-RC1-bin-SNAPSHOT-nonbootstrapped/classes:/home/fish/.cache/coursier/v1/https/repo1.maven.org/maven2/org/scala-lang/modules/scala-asm/9.6.0-scala-1/scala-asm-9.6.0-scala-1.jar:/home/fish/.cache/coursier/v1/https/repo1.maven.org/maven2/org/scala-sbt/compiler-interface/1.9.6/compiler-interface-1.9.6.jar:/home/fish/.cache/coursier/v1/https/repo1.maven.org/maven2/org/jline/jline-reader/3.25.1/jline-reader-3.25.1.jar:/home/fish/.cache/coursier/v1/https/repo1.maven.org/maven2/org/jline/jline-terminal/3.25.1/jline-terminal-3.25.1.jar:/home/fish/.cache/coursier/v1/https/repo1.maven.org/maven2/org/jline/jline-terminal-jna/3.25.1/jline-terminal-jna-3.25.1.jar:/home/fish/.cache/coursier/v1/https/repo1.maven.org/maven2/org/scala-lang/scala-library/2.13.12/scala-library-2.13.12.jar:/home/fish/.cache/coursier/v1/https/repo1.maven.org/maven2/org/scala-sbt/util-interface/1.9.8/util-interface-1.9.8.jar:/home/fish/.cache/coursier/v1/https/repo1.maven.org/maven2/org/jline/jline-native/3.25.1/jline-native-3.25.1.jar:/home/fish/.cache/coursier/v1/https/repo1.maven.org/maven2/net/java/dev/jna/jna/5.14.0/jna-5.14.0.jar -d /home/fish/scala3-base/out/bootstrap/scala2-library-bootstrapped/scala-3.5.1-RC1-bin-SNAPSHOT-nonbootstrapped/classes -deprecation true -encoding UTF8 -experimental true -feature true -language List(implicitConversions) -sourcepath /home/fish/scala3-base/scala2-library-bootstrapped/../out/bootstrap/scala2-library-bootstrapped/scala-3.5.1-RC1-bin-SNAPSHOT-nonbootstrapped/src_managed/main/scala-library-src

[error] ## Exception when compiling 568 sources to /home/fish/scala3-base/out/bootstrap/scala2-library-bootstrapped/scala-3.5.1-RC1-bin-SNAPSHOT-nonbootstrapped/classes
[error] java.lang.AssertionError: assertion failed: attempt to parse java.lang.Object from classfile
[error] scala.runtime.Scala3RunTime$.assertFailed(Scala3RunTime.scala:8)
[error] dotty.tools.dotc.core.classfile.ClassfileParser$AbstractConstantPool.getSuperClass(ClassfileParser.scala:175)
[error] dotty.tools.dotc.core.classfile.ClassfileParser.parseParents$1(ClassfileParser.scala:380)
[error] dotty.tools.dotc.core.classfile.ClassfileParser.parseClass(ClassfileParser.scala:395)
[error] dotty.tools.dotc.core.classfile.ClassfileParser.$anonfun$1(ClassfileParser.scala:302)
[error] dotty.tools.dotc.core.classfile.ClassfileParser.run(ClassfileParser.scala:297)
[error] dotty.tools.dotc.core.ClassfileLoader.doComplete(SymbolLoaders.scala:417)
[error] dotty.tools.dotc.core.SymbolLoader$$anon$1.doComplete(SymbolLoaders.scala:332)
[error] dotty.tools.dotc.core.SymbolLoader.complete(SymbolLoaders.scala:348)
[error] dotty.tools.dotc.core.SymDenotations$SymDenotation.completeFrom(SymDenotations.scala:175)
[error] dotty.tools.dotc.core.Denotations$Denotation.completeInfo$1(Denotations.scala:190)
[error] dotty.tools.dotc.core.Denotations$Denotation.info(Denotations.scala:192)
[error] dotty.tools.dotc.core.DenotTransformers$InfoTransformer.transform(DenotTransformers.scala:44)
[error] dotty.tools.dotc.core.DenotTransformers$InfoTransformer.transform$(DenotTransformers.scala:36)
[error] dotty.tools.dotc.transform.PostTyper.transform(PostTyper.scala:65)
[error] dotty.tools.dotc.core.Denotations$SingleDenotation.goForward$1(Denotations.scala:833)
[error] dotty.tools.dotc.core.Denotations$SingleDenotation.current(Denotations.scala:879)
[error] dotty.tools.dotc.core.Symbols$Symbol.recomputeDenot(Symbols.scala:124)
[error] dotty.tools.dotc.core.Symbols$Symbol.computeDenot(Symbols.scala:118)
[error] dotty.tools.dotc.core.Symbols$Symbol.denot(Symbols.scala:109)
[error] dotty.tools.dotc.core.Symbols$.toDenot(Symbols.scala:544)
[error] dotty.tools.dotc.typer.Checking$.nonExperimentalTopLevelDefs$1$$anonfun$1(Checking.scala:816)
[error] scala.collection.Iterator$$anon$10.nextCur(Iterator.scala:594)
[error] scala.collection.Iterator$$anon$10.hasNext(Iterator.scala:608)
[error] scala.collection.IterableOnceOps.foreach(IterableOnce.scala:576)
[error] scala.collection.IterableOnceOps.foreach$(IterableOnce.scala:574)
[error] scala.collection.AbstractIterator.foreach(Iterator.scala:1300)
[error] dotty.tools.dotc.typer.Checking$.markTopLevelDefsAsExperimental$1(Checking.scala:839)
[error] dotty.tools.dotc.typer.Checking$.checkAndAdaptExperimentalImports(Checking.scala:846)
[error] dotty.tools.dotc.transform.PostTyper$PostTyperTransformer.transformStats(PostTyper.scala:569)
[error] dotty.tools.dotc.ast.tpd$TreeMapWithPreciseStatContexts.transformStats(tpd.scala:1242)
[error] dotty.tools.dotc.ast.Trees$Instance$TreeMap.transform(Trees.scala:1613)
[error] dotty.tools.dotc.transform.MacroTransform$Transformer.transform(MacroTransform.scala:42)
[error] dotty.tools.dotc.transform.PostTyper$PostTyperTransformer.transform(PostTyper.scala:560)
[error] dotty.tools.dotc.transform.MacroTransform.run(MacroTransform.scala:20)
[error] dotty.tools.dotc.core.Phases$Phase.runOn$$anonfun$1(Phases.scala:380)
[error] scala.runtime.function.JProcedure1.apply(JProcedure1.java:15)
[error] scala.runtime.function.JProcedure1.apply(JProcedure1.java:10)
[error] scala.collection.immutable.List.foreach(List.scala:333)
[error] dotty.tools.dotc.core.Phases$Phase.runOn(Phases.scala:386)
[error] dotty.tools.dotc.Run.runPhases$1$$anonfun$1(Run.scala:343)
[error] scala.runtime.function.JProcedure1.apply(JProcedure1.java:15)
[error] scala.runtime.function.JProcedure1.apply(JProcedure1.java:10)
[error] scala.collection.ArrayOps$.foreach$extension(ArrayOps.scala:1323)
[error] dotty.tools.dotc.Run.runPhases$1(Run.scala:369)
[error] dotty.tools.dotc.Run.compileUnits$$anonfun$1(Run.scala:384)
[error] dotty.tools.dotc.Run.compileUnits$$anonfun$adapted$1(Run.scala:396)
[error] dotty.tools.dotc.util.Stats$.maybeMonitored(Stats.scala:69)
[error] dotty.tools.dotc.Run.compileUnits(Run.scala:396)
[error] dotty.tools.dotc.Run.compileSources(Run.scala:282)
[error] dotty.tools.dotc.Run.compile(Run.scala:267)
[error] dotty.tools.dotc.Driver.doCompile(Driver.scala:37)
[error] dotty.tools.xsbt.CompilerBridgeDriver.run(CompilerBridgeDriver.java:141)
[error] dotty.tools.xsbt.CompilerBridge.run(CompilerBridge.java:22)
[error] sbt.internal.inc.AnalyzingCompiler.compile(AnalyzingCompiler.scala:91)
[error] sbt.internal.inc.MixedAnalyzingCompiler.$anonfun$compile$7(MixedAnalyzingCompiler.scala:193)
[error] scala.runtime.java8.JFunction0$mcV$sp.apply(JFunction0$mcV$sp.java:23)
[error] sbt.internal.inc.MixedAnalyzingCompiler.timed(MixedAnalyzingCompiler.scala:248)
[error] sbt.internal.inc.MixedAnalyzingCompiler.$anonfun$compile$4(MixedAnalyzingCompiler.scala:183)
[error] sbt.internal.inc.MixedAnalyzingCompiler.$anonfun$compile$4$adapted(MixedAnalyzingCompiler.scala:163)
[error] sbt.internal.inc.JarUtils$.withPreviousJar(JarUtils.scala:239)
[error] sbt.internal.inc.MixedAnalyzingCompiler.compileScala$1(MixedAnalyzingCompiler.scala:163)
[error] sbt.internal.inc.MixedAnalyzingCompiler.compile(MixedAnalyzingCompiler.scala:211)
[error] sbt.internal.inc.IncrementalCompilerImpl.$anonfun$compileInternal$1(IncrementalCompilerImpl.scala:534)
[error] sbt.internal.inc.IncrementalCompilerImpl.$anonfun$compileInternal$1$adapted(IncrementalCompilerImpl.scala:534)
[error] sbt.internal.inc.Incremental$.$anonfun$apply$5(Incremental.scala:180)
[error] sbt.internal.inc.Incremental$.$anonfun$apply$5$adapted(Incremental.scala:178)
[error] sbt.internal.inc.Incremental$$anon$2.run(Incremental.scala:464)
[error] sbt.internal.inc.IncrementalCommon$CycleState.next(IncrementalCommon.scala:116)
[error] sbt.internal.inc.IncrementalCommon$$anon$1.next(IncrementalCommon.scala:56)
[error] sbt.internal.inc.IncrementalCommon$$anon$1.next(IncrementalCommon.scala:52)
[error] sbt.internal.inc.IncrementalCommon.cycle(IncrementalCommon.scala:263)
[error] sbt.internal.inc.Incremental$.$anonfun$incrementalCompile$8(Incremental.scala:419)
[error] sbt.internal.inc.Incremental$.withClassfileManager(Incremental.scala:506)
[error] sbt.internal.inc.Incremental$.incrementalCompile(Incremental.scala:406)
[error] sbt.internal.inc.Incremental$.apply(Incremental.scala:172)
[error] sbt.internal.inc.IncrementalCompilerImpl.compileInternal(IncrementalCompilerImpl.scala:534)
[error] sbt.internal.inc.IncrementalCompilerImpl.$anonfun$compileIncrementally$1(IncrementalCompilerImpl.scala:488)
[error] sbt.internal.inc.IncrementalCompilerImpl.handleCompilationError(IncrementalCompilerImpl.scala:332)
[error] sbt.internal.inc.IncrementalCompilerImpl.compileIncrementally(IncrementalCompilerImpl.scala:425)
[error] sbt.internal.inc.IncrementalCompilerImpl.compile(IncrementalCompilerImpl.scala:137)
[error] sbt.Defaults$.compileIncrementalTaskImpl(Defaults.scala:2371)
[error] sbt.Defaults$.$anonfun$compileIncrementalTask$2(Defaults.scala:2321)
[error] sbt.internal.server.BspCompileTask$.$anonfun$compute$1(BspCompileTask.scala:31)
[error] sbt.internal.io.Retry$.apply(Retry.scala:47)
[error] sbt.internal.io.Retry$.apply(Retry.scala:29)
[error] sbt.internal.io.Retry$.apply(Retry.scala:24)
[error] sbt.internal.server.BspCompileTask$.compute(BspCompileTask.scala:31)
[error] sbt.Defaults$.$anonfun$compileIncrementalTask$1(Defaults.scala:2319)
[error] scala.Function1.$anonfun$compose$1(Function1.scala:49)
[error] sbt.internal.util.$tilde$greater.$anonfun$$u2219$1(TypeFunctions.scala:63)
[error] sbt.std.Transform$$anon$4.work(Transform.scala:69)
[error] sbt.Execute.$anonfun$submit$2(Execute.scala:283)
[error] sbt.internal.util.ErrorHandling$.wideConvert(ErrorHandling.scala:24)
[error] sbt.Execute.work(Execute.scala:292)
[error] sbt.Execute.$anonfun$submit$1(Execute.scala:283)
[error] sbt.ConcurrentRestrictions$$anon$4.$anonfun$submitValid$1(ConcurrentRestrictions.scala:265)
[error] sbt.CompletionService$$anon$2.call(CompletionService.scala:65)
[error] java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
[error] java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:539)
[error] java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
[error] java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
[error] java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
[error] java.base/java.lang.Thread.run(Thread.java:840)
[error]
[error] stack trace is suppressed; run last scala2-library-bootstrapped / Compile / compileIncremental for the full output
[error] (scala2-library-bootstrapped / Compile / compileIncremental) java.lang.AssertionError: assertion failed: attempt to parse java.lang.Object from classfile
[error] Total time: 20 s, completed Jun 21, 2024, 2:30:58 PM

Expectation

@e45lee e45lee added itype:bug stat:needs triage Every issue needs to have an "area" and "itype" label labels Jun 21, 2024
@Gedochao Gedochao added area:typer area:experimental area:posttyper Issues caught during the posttyper compiler phase. stat:needs minimization Needs a self contained minimization and removed stat:needs triage Every issue needs to have an "area" and "itype" label labels Jun 25, 2024
@ghostdogpr
Copy link
Contributor

ghostdogpr commented Aug 27, 2024

I am also getting an AssertionError just by adding -experimental to my Scala 3 project (3.5.0). I can't share the project but sharing the stack in case it helps.

Stack (very long)
[error] java.lang.AssertionError: assertion failed: position not set for new scala.annotation.experimental("Added by -experimental") # -1 of class dotty.tools.dotc.ast.Trees$Apply in <no file>
[error] scala.runtime.Scala3RunTime$.assertFailed(Scala3RunTime.scala:8)
[error] dotty.tools.dotc.typer.Typer$.assertPositioned(Typer.scala:76)
[error] dotty.tools.dotc.typer.Typer.typed(Typer.scala:3549)
[error] dotty.tools.dotc.typer.Typer.typed(Typer.scala:3558)
[error] dotty.tools.dotc.typer.Typer.$anonfun$47(Typer.scala:2311)
[error] dotty.tools.dotc.core.Decorators$.loop$1(Decorators.scala:99)
[error] dotty.tools.dotc.core.Decorators$.mapconserve(Decorators.scala:115)
[error] dotty.tools.dotc.typer.Typer.typedSeqLiteral(Typer.scala:2311)
[error] dotty.tools.dotc.typer.Typer.typedUnnamed$1(Typer.scala:3414)
[error] dotty.tools.dotc.typer.Typer.typedUnadapted(Typer.scala:3477)
[error] dotty.tools.dotc.inlines.Inliner$InlineTyper.typedUnadapted(Inliner.scala:943)
[error] dotty.tools.dotc.typer.Typer.typed(Typer.scala:3554)
[error] dotty.tools.dotc.typer.Typer.typed(Typer.scala:3558)
[error] dotty.tools.dotc.typer.ReTyper.typedInlined(ReTyper.scala:100)
[error] dotty.tools.dotc.typer.Typer.typedUnnamed$1(Typer.scala:3415)
[error] dotty.tools.dotc.typer.Typer.typedUnadapted(Typer.scala:3477)
[error] dotty.tools.dotc.inlines.Inliner$InlineTyper.typedUnadapted(Inliner.scala:943)
[error] dotty.tools.dotc.typer.ProtoTypes$FunProto.$anonfun$7(ProtoTypes.scala:512)
[error] dotty.tools.dotc.typer.ProtoTypes$FunProto.cacheTypedArg(ProtoTypes.scala:435)
[error] dotty.tools.dotc.typer.ProtoTypes$FunProto.typedArg(ProtoTypes.scala:513)
[error] dotty.tools.dotc.typer.Applications$ApplyToUntyped.typedArg(Applications.scala:996)
[error] dotty.tools.dotc.typer.Applications$ApplyToUntyped.typedArg(Applications.scala:996)
[error] dotty.tools.dotc.typer.Applications$Application.addTyped$1(Applications.scala:688)
[error] dotty.tools.dotc.typer.Applications$Application.matchArgs(Applications.scala:752)
[error] dotty.tools.dotc.typer.Applications$Application.init(Applications.scala:574)
[error] dotty.tools.dotc.typer.Applications$TypedApply.<init>(Applications.scala:878)
[error] dotty.tools.dotc.typer.Applications$ApplyToUntyped.<init>(Applications.scala:995)
[error] dotty.tools.dotc.typer.Applications.ApplyTo(Applications.scala:1257)
[error] dotty.tools.dotc.typer.Applications.ApplyTo$(Applications.scala:434)
[error] dotty.tools.dotc.typer.Typer.ApplyTo(Typer.scala:145)
[error] dotty.tools.dotc.typer.Applications.simpleApply$1(Applications.scala:1068)
[error] dotty.tools.dotc.typer.Applications.realApply$1$$anonfun$2(Applications.scala:1178)
[error] dotty.tools.dotc.typer.Typer$.tryEither(Typer.scala:118)
[error] dotty.tools.dotc.typer.Applications.realApply$1(Applications.scala:1193)
[error] dotty.tools.dotc.typer.Applications.typedApply(Applications.scala:1231)
[error] dotty.tools.dotc.typer.Applications.typedApply$(Applications.scala:434)
[error] dotty.tools.dotc.inlines.Inliner$InlineTyper.typedApply(Inliner.scala:819)
[error] dotty.tools.dotc.typer.Typer.typedUnnamed$1(Typer.scala:3392)
[error] dotty.tools.dotc.typer.Typer.typedUnadapted(Typer.scala:3477)
[error] dotty.tools.dotc.inlines.Inliner$InlineTyper.typedUnadapted(Inliner.scala:943)
[error] dotty.tools.dotc.typer.Typer.typed(Typer.scala:3554)
[error] dotty.tools.dotc.typer.Typer.typed(Typer.scala:3558)
[error] dotty.tools.dotc.inlines.Inliner$InlineTyper.typedSelect(Inliner.scala:773)
[error] dotty.tools.dotc.typer.Typer.typedNamed$1(Typer.scala:3367)
[error] dotty.tools.dotc.typer.Typer.typedUnadapted(Typer.scala:3476)
[error] dotty.tools.dotc.inlines.Inliner$InlineTyper.typedUnadapted(Inliner.scala:943)
[error] dotty.tools.dotc.typer.Typer.typed(Typer.scala:3554)
[error] dotty.tools.dotc.typer.Typer.typed(Typer.scala:3558)
[error] dotty.tools.dotc.typer.Typer.typedExpr(Typer.scala:3669)
[error] dotty.tools.dotc.typer.Applications.typedTypeApply(Applications.scala:1284)
[error] dotty.tools.dotc.typer.Applications.typedTypeApply$(Applications.scala:434)
[error] dotty.tools.dotc.inlines.Inliner$InlineTyper.typedTypeApply(Inliner.scala:823)
[error] dotty.tools.dotc.typer.Typer.typedUnnamed$1(Typer.scala:3412)
[error] dotty.tools.dotc.typer.Typer.typedUnadapted(Typer.scala:3477)
[error] dotty.tools.dotc.inlines.Inliner$InlineTyper.typedUnadapted(Inliner.scala:943)
[error] dotty.tools.dotc.typer.Typer.typed(Typer.scala:3554)
[error] dotty.tools.dotc.typer.Typer.typed(Typer.scala:3558)
[error] dotty.tools.dotc.typer.Typer.typedExpr(Typer.scala:3669)
[error] dotty.tools.dotc.typer.Applications.realApply$1(Applications.scala:1040)
[error] dotty.tools.dotc.typer.Applications.typedApply(Applications.scala:1231)
[error] dotty.tools.dotc.typer.Applications.typedApply$(Applications.scala:434)
[error] dotty.tools.dotc.inlines.Inliner$InlineTyper.typedApply(Inliner.scala:819)
[error] dotty.tools.dotc.typer.Typer.typedUnnamed$1(Typer.scala:3392)
[error] dotty.tools.dotc.typer.Typer.typedUnadapted(Typer.scala:3477)
[error] dotty.tools.dotc.inlines.Inliner$InlineTyper.typedUnadapted(Inliner.scala:943)
[error] dotty.tools.dotc.typer.Typer.typed(Typer.scala:3554)
[error] dotty.tools.dotc.typer.Typer.typed(Typer.scala:3558)
[error] dotty.tools.dotc.inlines.Inliner$InlineTyper.typedSelect(Inliner.scala:773)
[error] dotty.tools.dotc.typer.Typer.typedNamed$1(Typer.scala:3367)
[error] dotty.tools.dotc.typer.Typer.typedUnadapted(Typer.scala:3476)
[error] dotty.tools.dotc.inlines.Inliner$InlineTyper.typedUnadapted(Inliner.scala:943)
[error] dotty.tools.dotc.typer.Typer.typed(Typer.scala:3554)
[error] dotty.tools.dotc.typer.Typer.typed(Typer.scala:3558)
[error] dotty.tools.dotc.typer.Typer.typedExpr(Typer.scala:3669)
[error] dotty.tools.dotc.typer.Applications.typedTypeApply(Applications.scala:1284)
[error] dotty.tools.dotc.typer.Applications.typedTypeApply$(Applications.scala:434)
[error] dotty.tools.dotc.inlines.Inliner$InlineTyper.typedTypeApply(Inliner.scala:823)
[error] dotty.tools.dotc.typer.Typer.typedUnnamed$1(Typer.scala:3412)
[error] dotty.tools.dotc.typer.Typer.typedUnadapted(Typer.scala:3477)
[error] dotty.tools.dotc.inlines.Inliner$InlineTyper.typedUnadapted(Inliner.scala:943)
[error] dotty.tools.dotc.typer.Typer.typed(Typer.scala:3554)
[error] dotty.tools.dotc.typer.Typer.typed(Typer.scala:3558)
[error] dotty.tools.dotc.typer.Typer.typedExpr(Typer.scala:3669)
[error] dotty.tools.dotc.typer.Applications.realApply$1(Applications.scala:1040)
[error] dotty.tools.dotc.typer.Applications.typedApply(Applications.scala:1231)
[error] dotty.tools.dotc.typer.Applications.typedApply$(Applications.scala:434)
[error] dotty.tools.dotc.inlines.Inliner$InlineTyper.typedApply(Inliner.scala:819)
[error] dotty.tools.dotc.typer.Typer.typedUnnamed$1(Typer.scala:3392)
[error] dotty.tools.dotc.typer.Typer.typedUnadapted(Typer.scala:3477)
[error] dotty.tools.dotc.inlines.Inliner$InlineTyper.typedUnadapted(Inliner.scala:943)
[error] dotty.tools.dotc.typer.Typer.typed(Typer.scala:3554)
[error] dotty.tools.dotc.typer.Typer.typed(Typer.scala:3551)
[error] dotty.tools.dotc.typer.Typer.typed(Typer.scala:3558)
[error] dotty.tools.dotc.typer.ReTyper.typedInlined(ReTyper.scala:100)
[error] dotty.tools.dotc.typer.Typer.typedUnnamed$1(Typer.scala:3415)
[error] dotty.tools.dotc.typer.Typer.typedUnadapted(Typer.scala:3477)
[error] dotty.tools.dotc.inlines.Inliner$InlineTyper.typedUnadapted(Inliner.scala:943)
[error] dotty.tools.dotc.typer.ProtoTypes$FunProto.$anonfun$7(ProtoTypes.scala:512)
[error] dotty.tools.dotc.typer.ProtoTypes$FunProto.cacheTypedArg(ProtoTypes.scala:435)
[error] dotty.tools.dotc.typer.ProtoTypes$FunProto.typedArg(ProtoTypes.scala:513)
[error] dotty.tools.dotc.typer.Applications$ApplyToUntyped.typedArg(Applications.scala:996)
[error] dotty.tools.dotc.typer.Applications$ApplyToUntyped.typedArg(Applications.scala:996)
[error] dotty.tools.dotc.typer.Applications$Application.addTyped$1(Applications.scala:688)
[error] dotty.tools.dotc.typer.Applications$Application.matchArgs(Applications.scala:752)
[error] dotty.tools.dotc.typer.Applications$Application.matchArgs(Applications.scala:752)
[error] dotty.tools.dotc.typer.Applications$Application.matchArgs(Applications.scala:752)
[error] dotty.tools.dotc.typer.Applications$Application.matchArgs(Applications.scala:752)
[error] dotty.tools.dotc.typer.Applications$Application.matchArgs(Applications.scala:752)
[error] dotty.tools.dotc.typer.Applications$Application.init(Applications.scala:574)
[error] dotty.tools.dotc.typer.Applications$TypedApply.<init>(Applications.scala:878)
[error] dotty.tools.dotc.typer.Applications$ApplyToUntyped.<init>(Applications.scala:995)
[error] dotty.tools.dotc.typer.Applications.ApplyTo(Applications.scala:1257)
[error] dotty.tools.dotc.typer.Applications.ApplyTo$(Applications.scala:434)
[error] dotty.tools.dotc.typer.Typer.ApplyTo(Typer.scala:145)
[error] dotty.tools.dotc.typer.Applications.simpleApply$1(Applications.scala:1068)
[error] dotty.tools.dotc.typer.Applications.realApply$1$$anonfun$2(Applications.scala:1178)
[error] dotty.tools.dotc.typer.Typer$.tryEither(Typer.scala:118)
[error] dotty.tools.dotc.typer.Applications.realApply$1(Applications.scala:1193)
[error] dotty.tools.dotc.typer.Applications.typedApply(Applications.scala:1231)
[error] dotty.tools.dotc.typer.Applications.typedApply$(Applications.scala:434)
[error] dotty.tools.dotc.inlines.Inliner$InlineTyper.typedApply(Inliner.scala:819)
[error] dotty.tools.dotc.typer.Typer.typedUnnamed$1(Typer.scala:3392)
[error] dotty.tools.dotc.typer.Typer.typedUnadapted(Typer.scala:3477)
[error] dotty.tools.dotc.inlines.Inliner$InlineTyper.typedUnadapted(Inliner.scala:943)
[error] dotty.tools.dotc.typer.Typer.typed(Typer.scala:3554)
[error] dotty.tools.dotc.typer.Typer.typed(Typer.scala:3558)
[error] dotty.tools.dotc.inlines.Inliner$InlineTyper.typedSelect(Inliner.scala:773)
[error] dotty.tools.dotc.typer.Typer.typedNamed$1(Typer.scala:3367)
[error] dotty.tools.dotc.typer.Typer.typedUnadapted(Typer.scala:3476)
[error] dotty.tools.dotc.inlines.Inliner$InlineTyper.typedUnadapted(Inliner.scala:943)
[error] dotty.tools.dotc.typer.Typer.typed(Typer.scala:3554)
[error] dotty.tools.dotc.typer.Typer.typed(Typer.scala:3558)
[error] dotty.tools.dotc.typer.Typer.typedExpr(Typer.scala:3669)
[error] dotty.tools.dotc.typer.Applications.typedTypeApply(Applications.scala:1284)
[error] dotty.tools.dotc.typer.Applications.typedTypeApply$(Applications.scala:434)
[error] dotty.tools.dotc.inlines.Inliner$InlineTyper.typedTypeApply(Inliner.scala:823)
[error] dotty.tools.dotc.typer.Typer.typedUnnamed$1(Typer.scala:3412)
[error] dotty.tools.dotc.typer.Typer.typedUnadapted(Typer.scala:3477)
[error] dotty.tools.dotc.inlines.Inliner$InlineTyper.typedUnadapted(Inliner.scala:943)
[error] dotty.tools.dotc.typer.Typer.typed(Typer.scala:3554)
[error] dotty.tools.dotc.typer.Typer.typed(Typer.scala:3558)
[error] dotty.tools.dotc.typer.Typer.typedExpr(Typer.scala:3669)
[error] dotty.tools.dotc.typer.Typer.typedValDef(Typer.scala:2753)
[error] dotty.tools.dotc.inlines.Inliner$InlineTyper.typedValDef(Inliner.scala:815)
[error] dotty.tools.dotc.typer.Typer.typedNamed$1(Typer.scala:3371)
[error] dotty.tools.dotc.typer.Typer.typedUnadapted(Typer.scala:3476)
[error] dotty.tools.dotc.inlines.Inliner$InlineTyper.typedUnadapted(Inliner.scala:943)
[error] dotty.tools.dotc.typer.Typer.typed(Typer.scala:3554)
[error] dotty.tools.dotc.typer.Typer.typed(Typer.scala:3551)
[error] dotty.tools.dotc.typer.Typer.typed(Typer.scala:3558)
[error] dotty.tools.dotc.typer.Typer.traverse$1(Typer.scala:3580)
[error] dotty.tools.dotc.typer.Typer.typedStats(Typer.scala:3626)
[error] dotty.tools.dotc.typer.Typer.typedBlockStats(Typer.scala:1377)
[error] dotty.tools.dotc.typer.Typer.typedBlock(Typer.scala:1381)
[error] dotty.tools.dotc.typer.Typer.typedUnnamed$1(Typer.scala:3400)
[error] dotty.tools.dotc.typer.Typer.typedUnadapted(Typer.scala:3477)
[error] dotty.tools.dotc.inlines.Inliner$InlineTyper.typedUnadapted(Inliner.scala:943)
[error] dotty.tools.dotc.typer.Typer.typed(Typer.scala:3554)
[error] dotty.tools.dotc.typer.Typer.typed(Typer.scala:3558)
[error] dotty.tools.dotc.typer.ReTyper.typedInlined(ReTyper.scala:100)
[error] dotty.tools.dotc.typer.Typer.typedUnnamed$1(Typer.scala:3415)
[error] dotty.tools.dotc.typer.Typer.typedUnadapted(Typer.scala:3477)
[error] dotty.tools.dotc.inlines.Inliner$InlineTyper.typedUnadapted(Inliner.scala:943)
[error] dotty.tools.dotc.typer.Typer.typed(Typer.scala:3554)
[error] dotty.tools.dotc.typer.Typer.typed(Typer.scala:3558)
[error] dotty.tools.dotc.inlines.Inliner$InlineTyper.typedSelect(Inliner.scala:773)
[error] dotty.tools.dotc.typer.Typer.typedNamed$1(Typer.scala:3367)
[error] dotty.tools.dotc.typer.Typer.typedUnadapted(Typer.scala:3476)
[error] dotty.tools.dotc.inlines.Inliner$InlineTyper.typedUnadapted(Inliner.scala:943)
[error] dotty.tools.dotc.typer.Typer.typed(Typer.scala:3554)
[error] dotty.tools.dotc.typer.Typer.typed(Typer.scala:3558)
[error] dotty.tools.dotc.typer.Typer.typedExpr(Typer.scala:3669)
[error] dotty.tools.dotc.typer.Applications.typedTypeApply(Applications.scala:1284)
[error] dotty.tools.dotc.typer.Applications.typedTypeApply$(Applications.scala:434)
[error] dotty.tools.dotc.inlines.Inliner$InlineTyper.typedTypeApply(Inliner.scala:823)
[error] dotty.tools.dotc.typer.Typer.typedUnnamed$1(Typer.scala:3412)
[error] dotty.tools.dotc.typer.Typer.typedUnadapted(Typer.scala:3477)
[error] dotty.tools.dotc.inlines.Inliner$InlineTyper.typedUnadapted(Inliner.scala:943)
[error] dotty.tools.dotc.typer.Typer.typed(Typer.scala:3554)
[error] dotty.tools.dotc.typer.Typer.typed(Typer.scala:3558)
[error] dotty.tools.dotc.typer.ReTyper.typedInlined(ReTyper.scala:100)
[error] dotty.tools.dotc.typer.Typer.typedUnnamed$1(Typer.scala:3415)
[error] dotty.tools.dotc.typer.Typer.typedUnadapted(Typer.scala:3477)
[error] dotty.tools.dotc.inlines.Inliner$InlineTyper.typedUnadapted(Inliner.scala:943)
[error] dotty.tools.dotc.typer.Typer.typed(Typer.scala:3554)
[error] dotty.tools.dotc.typer.Typer.typed(Typer.scala:3558)
[error] dotty.tools.dotc.typer.ReTyper.typedInlined(ReTyper.scala:100)
[error] dotty.tools.dotc.typer.Typer.typedUnnamed$1(Typer.scala:3415)
[error] dotty.tools.dotc.typer.Typer.typedUnadapted(Typer.scala:3477)
[error] dotty.tools.dotc.inlines.Inliner$InlineTyper.typedUnadapted(Inliner.scala:943)
[error] dotty.tools.dotc.typer.ProtoTypes$FunProto.$anonfun$7(ProtoTypes.scala:512)
[error] dotty.tools.dotc.typer.ProtoTypes$FunProto.cacheTypedArg(ProtoTypes.scala:435)
[error] dotty.tools.dotc.typer.ProtoTypes$FunProto.typedArg(ProtoTypes.scala:513)
[error] dotty.tools.dotc.typer.Applications$ApplyToUntyped.typedArg(Applications.scala:996)
[error] dotty.tools.dotc.typer.Applications$ApplyToUntyped.typedArg(Applications.scala:996)
[error] dotty.tools.dotc.typer.Applications$Application.addTyped$1(Applications.scala:688)
[error] dotty.tools.dotc.typer.Applications$Application.matchArgs(Applications.scala:752)
[error] dotty.tools.dotc.typer.Applications$Application.matchArgs(Applications.scala:752)
[error] dotty.tools.dotc.typer.Applications$Application.init(Applications.scala:574)
[error] dotty.tools.dotc.typer.Applications$TypedApply.<init>(Applications.scala:878)
[error] dotty.tools.dotc.typer.Applications$ApplyToUntyped.<init>(Applications.scala:995)
[error] dotty.tools.dotc.typer.Applications.ApplyTo(Applications.scala:1257)
[error] dotty.tools.dotc.typer.Applications.ApplyTo$(Applications.scala:434)
[error] dotty.tools.dotc.typer.Typer.ApplyTo(Typer.scala:145)
[error] dotty.tools.dotc.typer.Applications.simpleApply$1(Applications.scala:1068)
[error] dotty.tools.dotc.typer.Applications.realApply$1$$anonfun$2(Applications.scala:1178)
[error] dotty.tools.dotc.typer.Typer$.tryEither(Typer.scala:118)
[error] dotty.tools.dotc.typer.Applications.realApply$1(Applications.scala:1193)
[error] dotty.tools.dotc.typer.Applications.typedApply(Applications.scala:1231)
[error] dotty.tools.dotc.typer.Applications.typedApply$(Applications.scala:434)
[error] dotty.tools.dotc.inlines.Inliner$InlineTyper.typedApply(Inliner.scala:819)
[error] dotty.tools.dotc.typer.Typer.typedUnnamed$1(Typer.scala:3392)
[error] dotty.tools.dotc.typer.Typer.typedUnadapted(Typer.scala:3477)
[error] dotty.tools.dotc.inlines.Inliner$InlineTyper.typedUnadapted(Inliner.scala:943)
[error] dotty.tools.dotc.typer.Typer.typed(Typer.scala:3554)
[error] dotty.tools.dotc.typer.Typer.typed(Typer.scala:3558)
[error] dotty.tools.dotc.typer.ReTyper.typedInlined(ReTyper.scala:100)
[error] dotty.tools.dotc.typer.Typer.typedUnnamed$1(Typer.scala:3415)
[error] dotty.tools.dotc.typer.Typer.typedUnadapted(Typer.scala:3477)
[error] dotty.tools.dotc.inlines.Inliner$InlineTyper.typedUnadapted(Inliner.scala:943)
[error] dotty.tools.dotc.typer.Typer.typed(Typer.scala:3554)
[error] dotty.tools.dotc.typer.Typer.typed(Typer.scala:3551)
[error] dotty.tools.dotc.typer.Typer.typed(Typer.scala:3558)
[error] dotty.tools.dotc.inlines.Inliner$InlineTyper.typedSelect(Inliner.scala:773)
[error] dotty.tools.dotc.typer.Typer.typedNamed$1(Typer.scala:3367)
[error] dotty.tools.dotc.typer.Typer.typedUnadapted(Typer.scala:3476)
[error] dotty.tools.dotc.inlines.Inliner$InlineTyper.typedUnadapted(Inliner.scala:943)
[error] dotty.tools.dotc.typer.Typer.typed(Typer.scala:3554)
[error] dotty.tools.dotc.typer.Typer.typed(Typer.scala:3558)
[error] dotty.tools.dotc.typer.Typer.typedExpr(Typer.scala:3669)
[error] dotty.tools.dotc.typer.Applications.typedTypeApply(Applications.scala:1284)
[error] dotty.tools.dotc.typer.Applications.typedTypeApply$(Applications.scala:434)
[error] dotty.tools.dotc.inlines.Inliner$InlineTyper.typedTypeApply(Inliner.scala:823)
[error] dotty.tools.dotc.typer.Typer.typedUnnamed$1(Typer.scala:3412)
[error] dotty.tools.dotc.typer.Typer.typedUnadapted(Typer.scala:3477)
[error] dotty.tools.dotc.inlines.Inliner$InlineTyper.typedUnadapted(Inliner.scala:943)
[error] dotty.tools.dotc.typer.ProtoTypes$FunProto.$anonfun$7(ProtoTypes.scala:512)
[error] dotty.tools.dotc.typer.ProtoTypes$FunProto.cacheTypedArg(ProtoTypes.scala:435)
[error] dotty.tools.dotc.typer.ProtoTypes$FunProto.typedArg(ProtoTypes.scala:513)
[error] dotty.tools.dotc.typer.Applications$ApplyToUntyped.typedArg(Applications.scala:996)
[error] dotty.tools.dotc.typer.Applications$ApplyToUntyped.typedArg(Applications.scala:996)
[error] dotty.tools.dotc.typer.Applications$Application.addTyped$1(Applications.scala:688)
[error] dotty.tools.dotc.typer.Applications$Application.matchArgs(Applications.scala:752)
[error] dotty.tools.dotc.typer.Applications$Application.matchArgs(Applications.scala:752)
[error] dotty.tools.dotc.typer.Applications$Application.init(Applications.scala:574)
[error] dotty.tools.dotc.typer.Applications$TypedApply.<init>(Applications.scala:878)
[error] dotty.tools.dotc.typer.Applications$ApplyToUntyped.<init>(Applications.scala:995)
[error] dotty.tools.dotc.typer.Applications.ApplyTo(Applications.scala:1257)
[error] dotty.tools.dotc.typer.Applications.ApplyTo$(Applications.scala:434)
[error] dotty.tools.dotc.typer.Typer.ApplyTo(Typer.scala:145)
[error] dotty.tools.dotc.typer.Applications.simpleApply$1(Applications.scala:1068)
[error] dotty.tools.dotc.typer.Applications.realApply$1$$anonfun$2(Applications.scala:1178)
[error] dotty.tools.dotc.typer.Typer$.tryEither(Typer.scala:118)
[error] dotty.tools.dotc.typer.Applications.realApply$1(Applications.scala:1193)
[error] dotty.tools.dotc.typer.Applications.typedApply(Applications.scala:1231)
[error] dotty.tools.dotc.typer.Applications.typedApply$(Applications.scala:434)
[error] dotty.tools.dotc.inlines.Inliner$InlineTyper.typedApply(Inliner.scala:819)
[error] dotty.tools.dotc.typer.Typer.typedUnnamed$1(Typer.scala:3392)
[error] dotty.tools.dotc.typer.Typer.typedUnadapted(Typer.scala:3477)
[error] dotty.tools.dotc.inlines.Inliner$InlineTyper.typedUnadapted(Inliner.scala:943)
[error] dotty.tools.dotc.typer.Typer.typed(Typer.scala:3554)
[error] dotty.tools.dotc.typer.Typer.typed(Typer.scala:3558)
[error] dotty.tools.dotc.inlines.Inliner$InlineTyper.typedSelect(Inliner.scala:773)
[error] dotty.tools.dotc.typer.Typer.typedNamed$1(Typer.scala:3367)
[error] dotty.tools.dotc.typer.Typer.typedUnadapted(Typer.scala:3476)
[error] dotty.tools.dotc.inlines.Inliner$InlineTyper.typedUnadapted(Inliner.scala:943)
[error] dotty.tools.dotc.typer.Typer.typed(Typer.scala:3554)
[error] dotty.tools.dotc.typer.Typer.typed(Typer.scala:3558)
[error] dotty.tools.dotc.typer.Typer.typedExpr(Typer.scala:3669)
[error] dotty.tools.dotc.typer.Applications.typedTypeApply(Applications.scala:1284)
[error] dotty.tools.dotc.typer.Applications.typedTypeApply$(Applications.scala:434)
[error] dotty.tools.dotc.inlines.Inliner$InlineTyper.typedTypeApply(Inliner.scala:823)
[error] dotty.tools.dotc.typer.Typer.typedUnnamed$1(Typer.scala:3412)
[error] dotty.tools.dotc.typer.Typer.typedUnadapted(Typer.scala:3477)
[error] dotty.tools.dotc.inlines.Inliner$InlineTyper.typedUnadapted(Inliner.scala:943)
[error] dotty.tools.dotc.typer.Typer.typed(Typer.scala:3554)
[error] dotty.tools.dotc.typer.Typer.typed(Typer.scala:3558)
[error] dotty.tools.dotc.typer.Typer.typedExpr(Typer.scala:3669)
[error] dotty.tools.dotc.typer.Typer.typedValDef(Typer.scala:2753)
[error] dotty.tools.dotc.inlines.Inliner$InlineTyper.typedValDef(Inliner.scala:815)
[error] dotty.tools.dotc.typer.Typer.typedNamed$1(Typer.scala:3371)
[error] dotty.tools.dotc.typer.Typer.typedUnadapted(Typer.scala:3476)
[error] dotty.tools.dotc.inlines.Inliner$InlineTyper.typedUnadapted(Inliner.scala:943)
[error] dotty.tools.dotc.typer.Typer.typed(Typer.scala:3554)
[error] dotty.tools.dotc.typer.Typer.typed(Typer.scala:3551)
[error] dotty.tools.dotc.typer.Typer.typed(Typer.scala:3558)
[error] dotty.tools.dotc.typer.Typer.traverse$1(Typer.scala:3580)
[error] dotty.tools.dotc.typer.Typer.typedStats(Typer.scala:3626)
[error] dotty.tools.dotc.typer.Typer.typedBlockStats(Typer.scala:1377)
[error] dotty.tools.dotc.typer.Typer.typedBlock(Typer.scala:1381)
[error] dotty.tools.dotc.typer.Typer.typedUnnamed$1(Typer.scala:3400)
[error] dotty.tools.dotc.typer.Typer.typedUnadapted(Typer.scala:3477)
[error] dotty.tools.dotc.inlines.Inliner$InlineTyper.typedUnadapted(Inliner.scala:943)
[error] dotty.tools.dotc.typer.Typer.typed(Typer.scala:3554)
[error] dotty.tools.dotc.typer.Typer.typed(Typer.scala:3558)
[error] dotty.tools.dotc.typer.ReTyper.typedInlined(ReTyper.scala:100)
[error] dotty.tools.dotc.typer.Typer.typedUnnamed$1(Typer.scala:3415)
[error] dotty.tools.dotc.typer.Typer.typedUnadapted(Typer.scala:3477)
[error] dotty.tools.dotc.inlines.Inliner$InlineTyper.typedUnadapted(Inliner.scala:943)
[error] dotty.tools.dotc.typer.Typer.typed(Typer.scala:3554)
[error] dotty.tools.dotc.typer.Typer.typed(Typer.scala:3558)
[error] dotty.tools.dotc.inlines.Inliner$InlineTyper.typedSelect(Inliner.scala:773)
[error] dotty.tools.dotc.typer.Typer.typedNamed$1(Typer.scala:3367)
[error] dotty.tools.dotc.typer.Typer.typedUnadapted(Typer.scala:3476)
[error] dotty.tools.dotc.inlines.Inliner$InlineTyper.typedUnadapted(Inliner.scala:943)
[error] dotty.tools.dotc.typer.Typer.typed(Typer.scala:3554)
[error] dotty.tools.dotc.typer.Typer.typed(Typer.scala:3558)
[error] dotty.tools.dotc.typer.Typer.typedExpr(Typer.scala:3669)
[error] dotty.tools.dotc.typer.Applications.typedTypeApply(Applications.scala:1284)
[error] dotty.tools.dotc.typer.Applications.typedTypeApply$(Applications.scala:434)
[error] dotty.tools.dotc.inlines.Inliner$InlineTyper.typedTypeApply(Inliner.scala:823)
[error] dotty.tools.dotc.typer.Typer.typedUnnamed$1(Typer.scala:3412)
[error] dotty.tools.dotc.typer.Typer.typedUnadapted(Typer.scala:3477)
[error] dotty.tools.dotc.inlines.Inliner$InlineTyper.typedUnadapted(Inliner.scala:943)
[error] dotty.tools.dotc.typer.Typer.typed(Typer.scala:3554)
[error] dotty.tools.dotc.typer.Typer.typed(Typer.scala:3558)
[error] dotty.tools.dotc.typer.ReTyper.typedInlined(ReTyper.scala:100)
[error] dotty.tools.dotc.typer.Typer.typedUnnamed$1(Typer.scala:3415)
[error] dotty.tools.dotc.typer.Typer.typedUnadapted(Typer.scala:3477)
[error] dotty.tools.dotc.inlines.Inliner$InlineTyper.typedUnadapted(Inliner.scala:943)
[error] dotty.tools.dotc.typer.Typer.typed(Typer.scala:3554)
[error] dotty.tools.dotc.typer.Typer.typed(Typer.scala:3558)
[error] dotty.tools.dotc.typer.ReTyper.typedInlined(ReTyper.scala:100)
[error] dotty.tools.dotc.typer.Typer.typedUnnamed$1(Typer.scala:3415)
[error] dotty.tools.dotc.typer.Typer.typedUnadapted(Typer.scala:3477)
[error] dotty.tools.dotc.inlines.Inliner$InlineTyper.typedUnadapted(Inliner.scala:943)
[error] dotty.tools.dotc.typer.ProtoTypes$FunProto.$anonfun$7(ProtoTypes.scala:512)
[error] dotty.tools.dotc.typer.ProtoTypes$FunProto.cacheTypedArg(ProtoTypes.scala:435)
[error] dotty.tools.dotc.typer.ProtoTypes$FunProto.typedArg(ProtoTypes.scala:513)
[error] dotty.tools.dotc.typer.Applications$ApplyToUntyped.typedArg(Applications.scala:996)
[error] dotty.tools.dotc.typer.Applications$ApplyToUntyped.typedArg(Applications.scala:996)
[error] dotty.tools.dotc.typer.Applications$Application.addTyped$1(Applications.scala:688)
[error] dotty.tools.dotc.typer.Applications$Application.matchArgs(Applications.scala:752)
[error] dotty.tools.dotc.typer.Applications$Application.matchArgs(Applications.scala:752)
[error] dotty.tools.dotc.typer.Applications$Application.init(Applications.scala:574)
[error] dotty.tools.dotc.typer.Applications$TypedApply.<init>(Applications.scala:878)
[error] dotty.tools.dotc.typer.Applications$ApplyToUntyped.<init>(Applications.scala:995)
[error] dotty.tools.dotc.typer.Applications.ApplyTo(Applications.scala:1257)
[error] dotty.tools.dotc.typer.Applications.ApplyTo$(Applications.scala:434)
[error] dotty.tools.dotc.typer.Typer.ApplyTo(Typer.scala:145)
[error] dotty.tools.dotc.typer.Applications.simpleApply$1(Applications.scala:1068)
[error] dotty.tools.dotc.typer.Applications.realApply$1$$anonfun$2(Applications.scala:1178)
[error] dotty.tools.dotc.typer.Typer$.tryEither(Typer.scala:118)
[error] dotty.tools.dotc.typer.Applications.realApply$1(Applications.scala:1193)
[error] dotty.tools.dotc.typer.Applications.typedApply(Applications.scala:1231)
[error] dotty.tools.dotc.typer.Applications.typedApply$(Applications.scala:434)
[error] dotty.tools.dotc.inlines.Inliner$InlineTyper.typedApply(Inliner.scala:819)
[error] dotty.tools.dotc.typer.Typer.typedUnnamed$1(Typer.scala:3392)
[error] dotty.tools.dotc.typer.Typer.typedUnadapted(Typer.scala:3477)
[error] dotty.tools.dotc.inlines.Inliner$InlineTyper.typedUnadapted(Inliner.scala:943)
[error] dotty.tools.dotc.typer.Typer.typed(Typer.scala:3554)
[error] dotty.tools.dotc.typer.Typer.typed(Typer.scala:3551)
[error] dotty.tools.dotc.typer.Typer.typed(Typer.scala:3558)
[error] dotty.tools.dotc.typer.ReTyper.typedInlined(ReTyper.scala:100)
[error] dotty.tools.dotc.typer.Typer.typedUnnamed$1(Typer.scala:3415)
[error] dotty.tools.dotc.typer.Typer.typedUnadapted(Typer.scala:3477)
[error] dotty.tools.dotc.inlines.Inliner$InlineTyper.typedUnadapted(Inliner.scala:943)
[error] dotty.tools.dotc.typer.ProtoTypes$FunProto.$anonfun$7(ProtoTypes.scala:512)
[error] dotty.tools.dotc.typer.ProtoTypes$FunProto.cacheTypedArg(ProtoTypes.scala:435)
[error] dotty.tools.dotc.typer.ProtoTypes$FunProto.typedArg(ProtoTypes.scala:513)
[error] dotty.tools.dotc.typer.Applications$ApplyToUntyped.typedArg(Applications.scala:996)
[error] dotty.tools.dotc.typer.Applications$ApplyToUntyped.typedArg(Applications.scala:996)
[error] dotty.tools.dotc.typer.Applications$Application.addTyped$1(Applications.scala:688)
[error] dotty.tools.dotc.typer.Applications$Application.matchArgs(Applications.scala:752)
[error] dotty.tools.dotc.typer.Applications$Application.matchArgs(Applications.scala:752)
[error] dotty.tools.dotc.typer.Applications$Application.init(Applications.scala:574)
[error] dotty.tools.dotc.typer.Applications$TypedApply.<init>(Applications.scala:878)
[error] dotty.tools.dotc.typer.Applications$ApplyToUntyped.<init>(Applications.scala:995)
[error] dotty.tools.dotc.typer.Applications.ApplyTo(Applications.scala:1257)
[error] dotty.tools.dotc.typer.Applications.ApplyTo$(Applications.scala:434)
[error] dotty.tools.dotc.typer.Typer.ApplyTo(Typer.scala:145)
[error] dotty.tools.dotc.typer.Applications.simpleApply$1(Applications.scala:1068)
[error] dotty.tools.dotc.typer.Applications.realApply$1$$anonfun$2(Applications.scala:1178)
[error] dotty.tools.dotc.typer.Typer$.tryEither(Typer.scala:118)
[error] dotty.tools.dotc.typer.Applications.realApply$1(Applications.scala:1193)
[error] dotty.tools.dotc.typer.Applications.typedApply(Applications.scala:1231)
[error] dotty.tools.dotc.typer.Applications.typedApply$(Applications.scala:434)
[error] dotty.tools.dotc.inlines.Inliner$InlineTyper.typedApply(Inliner.scala:819)
[error] dotty.tools.dotc.typer.Typer.typedUnnamed$1(Typer.scala:3392)
[error] dotty.tools.dotc.typer.Typer.typedUnadapted(Typer.scala:3477)
[error] dotty.tools.dotc.inlines.Inliner$InlineTyper.typedUnadapted(Inliner.scala:943)
[error] dotty.tools.dotc.typer.Typer.typed(Typer.scala:3554)
[error] dotty.tools.dotc.typer.Typer.typed(Typer.scala:3558)
[error] dotty.tools.dotc.typer.Typer.typedExpr(Typer.scala:3669)
[error] dotty.tools.dotc.typer.Typer.typedValDef(Typer.scala:2753)
[error] dotty.tools.dotc.inlines.Inliner$InlineTyper.typedValDef(Inliner.scala:815)
[error] dotty.tools.dotc.typer.Typer.typedNamed$1(Typer.scala:3371)
[error] dotty.tools.dotc.typer.Typer.typedUnadapted(Typer.scala:3476)
[error] dotty.tools.dotc.inlines.Inliner$InlineTyper.typedUnadapted(Inliner.scala:943)
[error] dotty.tools.dotc.typer.Typer.typed(Typer.scala:3554)
[error] dotty.tools.dotc.typer.Typer.typed(Typer.scala:3551)
[error] dotty.tools.dotc.typer.Typer.typed(Typer.scala:3558)
[error] dotty.tools.dotc.typer.Typer.traverse$1(Typer.scala:3580)
[error] dotty.tools.dotc.typer.Typer.typedStats(Typer.scala:3626)
[error] dotty.tools.dotc.typer.Typer.typedBlockStats(Typer.scala:1377)
[error] dotty.tools.dotc.typer.Typer.typedBlock(Typer.scala:1381)
[error] dotty.tools.dotc.typer.Typer.typedUnnamed$1(Typer.scala:3400)
[error] dotty.tools.dotc.typer.Typer.typedUnadapted(Typer.scala:3477)
[error] dotty.tools.dotc.inlines.Inliner$InlineTyper.typedUnadapted(Inliner.scala:943)
[error] dotty.tools.dotc.typer.Typer.typed(Typer.scala:3554)
[error] dotty.tools.dotc.typer.Typer.typed(Typer.scala:3558)
[error] dotty.tools.dotc.typer.ReTyper.typedInlined(ReTyper.scala:100)
[error] dotty.tools.dotc.typer.Typer.typedUnnamed$1(Typer.scala:3415)
[error] dotty.tools.dotc.typer.Typer.typedUnadapted(Typer.scala:3477)
[error] dotty.tools.dotc.inlines.Inliner$InlineTyper.typedUnadapted(Inliner.scala:943)
[error] dotty.tools.dotc.typer.Typer.typed(Typer.scala:3554)
[error] dotty.tools.dotc.typer.Typer.typed(Typer.scala:3558)
[error] dotty.tools.dotc.inlines.Inliner$InlineTyper.typedSelect(Inliner.scala:773)
[error] dotty.tools.dotc.typer.Typer.typedNamed$1(Typer.scala:3367)
[error] dotty.tools.dotc.typer.Typer.typedUnadapted(Typer.scala:3476)
[error] dotty.tools.dotc.inlines.Inliner$InlineTyper.typedUnadapted(Inliner.scala:943)
[error] dotty.tools.dotc.typer.Typer.typed(Typer.scala:3554)
[error] dotty.tools.dotc.typer.Typer.typed(Typer.scala:3558)
[error] dotty.tools.dotc.typer.Typer.typedExpr(Typer.scala:3669)
[error] dotty.tools.dotc.typer.Applications.typedTypeApply(Applications.scala:1284)
[error] dotty.tools.dotc.typer.Applications.typedTypeApply$(Applications.scala:434)
[error] dotty.tools.dotc.inlines.Inliner$InlineTyper.typedTypeApply(Inliner.scala:823)
[error] dotty.tools.dotc.typer.Typer.typedUnnamed$1(Typer.scala:3412)
[error] dotty.tools.dotc.typer.Typer.typedUnadapted(Typer.scala:3477)
[error] dotty.tools.dotc.inlines.Inliner$InlineTyper.typedUnadapted(Inliner.scala:943)
[error] dotty.tools.dotc.typer.Typer.typed(Typer.scala:3554)
[error] dotty.tools.dotc.typer.Typer.typed(Typer.scala:3558)
[error] dotty.tools.dotc.typer.ReTyper.typedInlined(ReTyper.scala:100)
[error] dotty.tools.dotc.typer.Typer.typedUnnamed$1(Typer.scala:3415)
[error] dotty.tools.dotc.typer.Typer.typedUnadapted(Typer.scala:3477)
[error] dotty.tools.dotc.inlines.Inliner$InlineTyper.typedUnadapted(Inliner.scala:943)
[error] dotty.tools.dotc.typer.Typer.typed(Typer.scala:3554)
[error] dotty.tools.dotc.typer.Typer.typed(Typer.scala:3558)
[error] dotty.tools.dotc.typer.ReTyper.typedInlined(ReTyper.scala:100)
[error] dotty.tools.dotc.typer.Typer.typedUnnamed$1(Typer.scala:3415)
[error] dotty.tools.dotc.typer.Typer.typedUnadapted(Typer.scala:3477)
[error] dotty.tools.dotc.inlines.Inliner$InlineTyper.typedUnadapted(Inliner.scala:943)
[error] dotty.tools.dotc.typer.ProtoTypes$FunProto.$anonfun$7(ProtoTypes.scala:512)
[error] dotty.tools.dotc.typer.ProtoTypes$FunProto.cacheTypedArg(ProtoTypes.scala:435)
[error] dotty.tools.dotc.typer.ProtoTypes$FunProto.typedArg(ProtoTypes.scala:513)
[error] dotty.tools.dotc.typer.Applications$ApplyToUntyped.typedArg(Applications.scala:996)
[error] dotty.tools.dotc.typer.Applications$ApplyToUntyped.typedArg(Applications.scala:996)
[error] dotty.tools.dotc.typer.Applications$Application.addTyped$1(Applications.scala:688)
[error] dotty.tools.dotc.typer.Applications$Application.matchArgs(Applications.scala:752)
[error] dotty.tools.dotc.typer.Applications$Application.matchArgs(Applications.scala:752)
[error] dotty.tools.dotc.typer.Applications$Application.init(Applications.scala:574)
[error] dotty.tools.dotc.typer.Applications$TypedApply.<init>(Applications.scala:878)
[error] dotty.tools.dotc.typer.Applications$ApplyToUntyped.<init>(Applications.scala:995)
[error] dotty.tools.dotc.typer.Applications.ApplyTo(Applications.scala:1257)
[error] dotty.tools.dotc.typer.Applications.ApplyTo$(Applications.scala:434)
[error] dotty.tools.dotc.typer.Typer.ApplyTo(Typer.scala:145)
[error] dotty.tools.dotc.typer.Applications.simpleApply$1(Applications.scala:1068)
[error] dotty.tools.dotc.typer.Applications.realApply$1$$anonfun$2(Applications.scala:1178)
[error] dotty.tools.dotc.typer.Typer$.tryEither(Typer.scala:118)
[error] dotty.tools.dotc.typer.Applications.realApply$1(Applications.scala:1193)
[error] dotty.tools.dotc.typer.Applications.typedApply(Applications.scala:1231)
[error] dotty.tools.dotc.typer.Applications.typedApply$(Applications.scala:434)
[error] dotty.tools.dotc.inlines.Inliner$InlineTyper.typedApply(Inliner.scala:819)
[error] dotty.tools.dotc.typer.Typer.typedUnnamed$1(Typer.scala:3392)
[error] dotty.tools.dotc.typer.Typer.typedUnadapted(Typer.scala:3477)
[error] dotty.tools.dotc.inlines.Inliner$InlineTyper.typedUnadapted(Inliner.scala:943)
[error] dotty.tools.dotc.typer.Typer.typed(Typer.scala:3554)
[error] dotty.tools.dotc.typer.Typer.typed(Typer.scala:3558)
[error] dotty.tools.dotc.typer.ReTyper.typedInlined(ReTyper.scala:100)
[error] dotty.tools.dotc.typer.Typer.typedUnnamed$1(Typer.scala:3415)
[error] dotty.tools.dotc.typer.Typer.typedUnadapted(Typer.scala:3477)
[error] dotty.tools.dotc.inlines.Inliner$InlineTyper.typedUnadapted(Inliner.scala:943)
[error] dotty.tools.dotc.typer.Typer.typed(Typer.scala:3554)
[error] dotty.tools.dotc.typer.Typer.typed(Typer.scala:3551)
[error] dotty.tools.dotc.typer.Typer.typed(Typer.scala:3558)
[error] dotty.tools.dotc.inlines.Inliner$InlineTyper.typedSelect(Inliner.scala:773)
[error] dotty.tools.dotc.typer.Typer.typedNamed$1(Typer.scala:3367)
[error] dotty.tools.dotc.typer.Typer.typedUnadapted(Typer.scala:3476)
[error] dotty.tools.dotc.inlines.Inliner$InlineTyper.typedUnadapted(Inliner.scala:943)
[error] dotty.tools.dotc.typer.Typer.typed(Typer.scala:3554)
[error] dotty.tools.dotc.typer.Typer.typed(Typer.scala:3558)
[error] dotty.tools.dotc.typer.Typer.typedExpr(Typer.scala:3669)
[error] dotty.tools.dotc.typer.Applications.typedTypeApply(Applications.scala:1284)
[error] dotty.tools.dotc.typer.Applications.typedTypeApply$(Applications.scala:434)
[error] dotty.tools.dotc.inlines.Inliner$InlineTyper.typedTypeApply(Inliner.scala:823)
[error] dotty.tools.dotc.typer.Typer.typedUnnamed$1(Typer.scala:3412)
[error] dotty.tools.dotc.typer.Typer.typedUnadapted(Typer.scala:3477)
[error] dotty.tools.dotc.inlines.Inliner$InlineTyper.typedUnadapted(Inliner.scala:943)
[error] dotty.tools.dotc.typer.ProtoTypes$FunProto.$anonfun$7(ProtoTypes.scala:512)
[error] dotty.tools.dotc.typer.ProtoTypes$FunProto.cacheTypedArg(ProtoTypes.scala:435)
[error] dotty.tools.dotc.typer.ProtoTypes$FunProto.typedArg(ProtoTypes.scala:513)
[error] dotty.tools.dotc.typer.Applications$ApplyToUntyped.typedArg(Applications.scala:996)
[error] dotty.tools.dotc.typer.Applications$ApplyToUntyped.typedArg(Applications.scala:996)
[error] dotty.tools.dotc.typer.Applications$Application.addTyped$1(Applications.scala:688)
[error] dotty.tools.dotc.typer.Applications$Application.matchArgs(Applications.scala:752)
[error] dotty.tools.dotc.typer.Applications$Application.matchArgs(Applications.scala:752)
[error] dotty.tools.dotc.typer.Applications$Application.init(Applications.scala:574)
[error] dotty.tools.dotc.typer.Applications$TypedApply.<init>(Applications.scala:878)
[error] dotty.tools.dotc.typer.Applications$ApplyToUntyped.<init>(Applications.scala:995)
[error] dotty.tools.dotc.typer.Applications.ApplyTo(Applications.scala:1257)
[error] dotty.tools.dotc.typer.Applications.ApplyTo$(Applications.scala:434)
[error] dotty.tools.dotc.typer.Typer.ApplyTo(Typer.scala:145)
[error] dotty.tools.dotc.typer.Applications.simpleApply$1(Applications.scala:1068)
[error] dotty.tools.dotc.typer.Applications.realApply$1$$anonfun$2(Applications.scala:1178)
[error] dotty.tools.dotc.typer.Typer$.tryEither(Typer.scala:118)
[error] dotty.tools.dotc.typer.Applications.realApply$1(Applications.scala:1193)
[error] dotty.tools.dotc.typer.Applications.typedApply(Applications.scala:1231)
[error] dotty.tools.dotc.typer.Applications.typedApply$(Applications.scala:434)
[error] dotty.tools.dotc.inlines.Inliner$InlineTyper.typedApply(Inliner.scala:819)
[error] dotty.tools.dotc.typer.Typer.typedUnnamed$1(Typer.scala:3392)
[error] dotty.tools.dotc.typer.Typer.typedUnadapted(Typer.scala:3477)
[error] dotty.tools.dotc.inlines.Inliner$InlineTyper.typedUnadapted(Inliner.scala:943)
[error] dotty.tools.dotc.typer.Typer.typed(Typer.scala:3554)
[error] dotty.tools.dotc.typer.Typer.typed(Typer.scala:3558)
[error] dotty.tools.dotc.inlines.Inliner$InlineTyper.typedSelect(Inliner.scala:773)
[error] dotty.tools.dotc.typer.Typer.typedNamed$1(Typer.scala:3367)
[error] dotty.tools.dotc.typer.Typer.typedUnadapted(Typer.scala:3476)
[error] dotty.tools.dotc.inlines.Inliner$InlineTyper.typedUnadapted(Inliner.scala:943)
[error] dotty.tools.dotc.typer.Typer.typed(Typer.scala:3554)
[error] dotty.tools.dotc.typer.Typer.typed(Typer.scala:3558)
[error] dotty.tools.dotc.typer.Typer.typedExpr(Typer.scala:3669)
[error] dotty.tools.dotc.typer.Applications.typedTypeApply(Applications.scala:1284)
[error] dotty.tools.dotc.typer.Applications.typedTypeApply$(Applications.scala:434)
[error] dotty.tools.dotc.inlines.Inliner$InlineTyper.typedTypeApply(Inliner.scala:823)
[error] dotty.tools.dotc.typer.Typer.typedUnnamed$1(Typer.scala:3412)
[error] dotty.tools.dotc.typer.Typer.typedUnadapted(Typer.scala:3477)
[error] dotty.tools.dotc.inlines.Inliner$InlineTyper.typedUnadapted(Inliner.scala:943)
[error] dotty.tools.dotc.typer.Typer.typed(Typer.scala:3554)
[error] dotty.tools.dotc.typer.Typer.typed(Typer.scala:3558)
[error] dotty.tools.dotc.typer.Typer.typedExpr(Typer.scala:3669)
[error] dotty.tools.dotc.typer.Typer.typedValDef(Typer.scala:2753)
[error] dotty.tools.dotc.inlines.Inliner$InlineTyper.typedValDef(Inliner.scala:815)
[error] dotty.tools.dotc.typer.Typer.typedNamed$1(Typer.scala:3371)
[error] dotty.tools.dotc.typer.Typer.typedUnadapted(Typer.scala:3476)
[error] dotty.tools.dotc.inlines.Inliner$InlineTyper.typedUnadapted(Inliner.scala:943)
[error] dotty.tools.dotc.typer.Typer.typed(Typer.scala:3554)
[error] dotty.tools.dotc.typer.Typer.typed(Typer.scala:3551)
[error] dotty.tools.dotc.typer.Typer.typed(Typer.scala:3558)
[error] dotty.tools.dotc.typer.Typer.traverse$1(Typer.scala:3580)
[error] dotty.tools.dotc.typer.Typer.typedStats(Typer.scala:3626)
[error] dotty.tools.dotc.typer.Typer.typedBlockStats(Typer.scala:1377)
[error] dotty.tools.dotc.typer.Typer.typedBlock(Typer.scala:1381)
[error] dotty.tools.dotc.typer.Typer.typedUnnamed$1(Typer.scala:3400)
[error] dotty.tools.dotc.typer.Typer.typedUnadapted(Typer.scala:3477)
[error] dotty.tools.dotc.inlines.Inliner$InlineTyper.typedUnadapted(Inliner.scala:943)
[error] dotty.tools.dotc.typer.Typer.typed(Typer.scala:3554)
[error] dotty.tools.dotc.typer.Typer.typed(Typer.scala:3558)
[error] dotty.tools.dotc.typer.ReTyper.typedInlined(ReTyper.scala:100)
[error] dotty.tools.dotc.typer.Typer.typedUnnamed$1(Typer.scala:3415)
[error] dotty.tools.dotc.typer.Typer.typedUnadapted(Typer.scala:3477)
[error] dotty.tools.dotc.inlines.Inliner$InlineTyper.typedUnadapted(Inliner.scala:943)
[error] dotty.tools.dotc.typer.Typer.typed(Typer.scala:3554)
[error] dotty.tools.dotc.typer.Typer.typed(Typer.scala:3558)
[error] dotty.tools.dotc.inlines.Inliner$InlineTyper.typedSelect(Inliner.scala:773)
[error] dotty.tools.dotc.typer.Typer.typedNamed$1(Typer.scala:3367)
[error] dotty.tools.dotc.typer.Typer.typedUnadapted(Typer.scala:3476)
[error] dotty.tools.dotc.inlines.Inliner$InlineTyper.typedUnadapted(Inliner.scala:943)
[error] dotty.tools.dotc.typer.Typer.typed(Typer.scala:3554)
[error] dotty.tools.dotc.typer.Typer.typed(Typer.scala:3558)
[error] dotty.tools.dotc.typer.Typer.typedExpr(Typer.scala:3669)
[error] dotty.tools.dotc.typer.Applications.typedTypeApply(Applications.scala:1284)
[error] dotty.tools.dotc.typer.Applications.typedTypeApply$(Applications.scala:434)
[error] dotty.tools.dotc.inlines.Inliner$InlineTyper.typedTypeApply(Inliner.scala:823)
[error] dotty.tools.dotc.typer.Typer.typedUnnamed$1(Typer.scala:3412)
[error] dotty.tools.dotc.typer.Typer.typedUnadapted(Typer.scala:3477)
[error] dotty.tools.dotc.inlines.Inliner$InlineTyper.typedUnadapted(Inliner.scala:943)
[error] dotty.tools.dotc.typer.Typer.typed(Typer.scala:3554)
[error] dotty.tools.dotc.typer.Typer.typed(Typer.scala:3558)
[error] dotty.tools.dotc.typer.ReTyper.typedInlined(ReTyper.scala:100)
[error] dotty.tools.dotc.typer.Typer.typedUnnamed$1(Typer.scala:3415)
[error] dotty.tools.dotc.typer.Typer.typedUnadapted(Typer.scala:3477)
[error] dotty.tools.dotc.inlines.Inliner$InlineTyper.typedUnadapted(Inliner.scala:943)
[error] dotty.tools.dotc.typer.Typer.typed(Typer.scala:3554)
[error] dotty.tools.dotc.typer.Typer.typed(Typer.scala:3558)
[error] dotty.tools.dotc.typer.ReTyper.typedInlined(ReTyper.scala:100)
[error] dotty.tools.dotc.typer.Typer.typedUnnamed$1(Typer.scala:3415)
[error] dotty.tools.dotc.typer.Typer.typedUnadapted(Typer.scala:3477)
[error] dotty.tools.dotc.inlines.Inliner$InlineTyper.typedUnadapted(Inliner.scala:943)
[error] dotty.tools.dotc.typer.ProtoTypes$FunProto.$anonfun$7(ProtoTypes.scala:512)
[error] dotty.tools.dotc.typer.ProtoTypes$FunProto.cacheTypedArg(ProtoTypes.scala:435)
[error] dotty.tools.dotc.typer.ProtoTypes$FunProto.typedArg(ProtoTypes.scala:513)
[error] dotty.tools.dotc.typer.Applications$ApplyToUntyped.typedArg(Applications.scala:996)
[error] dotty.tools.dotc.typer.Applications$ApplyToUntyped.typedArg(Applications.scala:996)
[error] dotty.tools.dotc.typer.Applications$Application.addTyped$1(Applications.scala:688)
[error] dotty.tools.dotc.typer.Applications$Application.matchArgs(Applications.scala:752)
[error] dotty.tools.dotc.typer.Applications$Application.matchArgs(Applications.scala:752)
[error] dotty.tools.dotc.typer.Applications$Application.init(Applications.scala:574)
[error] dotty.tools.dotc.typer.Applications$TypedApply.<init>(Applications.scala:878)
[error] dotty.tools.dotc.typer.Applications$ApplyToUntyped.<init>(Applications.scala:995)
[error] dotty.tools.dotc.typer.Applications.ApplyTo(Applications.scala:1257)
[error] dotty.tools.dotc.typer.Applications.ApplyTo$(Applications.scala:434)
[error] dotty.tools.dotc.typer.Typer.ApplyTo(Typer.scala:145)
[error] dotty.tools.dotc.typer.Applications.simpleApply$1(Applications.scala:1068)
[error] dotty.tools.dotc.typer.Applications.realApply$1$$anonfun$2(Applications.scala:1178)
[error] dotty.tools.dotc.typer.Typer$.tryEither(Typer.scala:118)
[error] dotty.tools.dotc.typer.Applications.realApply$1(Applications.scala:1193)
[error] dotty.tools.dotc.typer.Applications.typedApply(Applications.scala:1231)
[error] dotty.tools.dotc.typer.Applications.typedApply$(Applications.scala:434)
[error] dotty.tools.dotc.inlines.Inliner$InlineTyper.typedApply(Inliner.scala:819)
[error] dotty.tools.dotc.typer.Typer.typedUnnamed$1(Typer.scala:3392)
[error] dotty.tools.dotc.typer.Typer.typedUnadapted(Typer.scala:3477)
[error] dotty.tools.dotc.inlines.Inliner$InlineTyper.typedUnadapted(Inliner.scala:943)
[error] dotty.tools.dotc.typer.Typer.typed(Typer.scala:3554)
[error] dotty.tools.dotc.typer.Typer.typed(Typer.scala:3558)
[error] dotty.tools.dotc.typer.ReTyper.typedInlined(ReTyper.scala:100)
[error] dotty.tools.dotc.typer.Typer.typedUnnamed$1(Typer.scala:3415)
[error] dotty.tools.dotc.typer.Typer.typedUnadapted(Typer.scala:3477)
[error] dotty.tools.dotc.inlines.Inliner$InlineTyper.typedUnadapted(Inliner.scala:943)
[error] dotty.tools.dotc.typer.Typer.typed(Typer.scala:3554)
[error] dotty.tools.dotc.typer.Typer.typed(Typer.scala:3551)
[error] dotty.tools.dotc.typer.Typer.typed(Typer.scala:3558)
[error] dotty.tools.dotc.inlines.Inliner$InlineTyper.typedSelect(Inliner.scala:773)
[error] dotty.tools.dotc.typer.Typer.typedNamed$1(Typer.scala:3367)
[error] dotty.tools.dotc.typer.Typer.typedUnadapted(Typer.scala:3476)
[error] dotty.tools.dotc.inlines.Inliner$InlineTyper.typedUnadapted(Inliner.scala:943)
[error] dotty.tools.dotc.typer.Typer.typed(Typer.scala:3554)
[error] dotty.tools.dotc.typer.Typer.typed(Typer.scala:3558)
[error] dotty.tools.dotc.typer.Typer.typedExpr(Typer.scala:3669)
[error] dotty.tools.dotc.typer.Applications.typedTypeApply(Applications.scala:1284)
[error] dotty.tools.dotc.typer.Applications.typedTypeApply$(Applications.scala:434)
[error] dotty.tools.dotc.inlines.Inliner$InlineTyper.typedTypeApply(Inliner.scala:823)
[error] dotty.tools.dotc.typer.Typer.typedUnnamed$1(Typer.scala:3412)
[error] dotty.tools.dotc.typer.Typer.typedUnadapted(Typer.scala:3477)
[error] dotty.tools.dotc.inlines.Inliner$InlineTyper.typedUnadapted(Inliner.scala:943)
[error] dotty.tools.dotc.typer.ProtoTypes$FunProto.$anonfun$7(ProtoTypes.scala:512)
[error] dotty.tools.dotc.typer.ProtoTypes$FunProto.cacheTypedArg(ProtoTypes.scala:435)
[error] dotty.tools.dotc.typer.ProtoTypes$FunProto.typedArg(ProtoTypes.scala:513)
[error] dotty.tools.dotc.typer.Applications$ApplyToUntyped.typedArg(Applications.scala:996)
[error] dotty.tools.dotc.typer.Applications$ApplyToUntyped.typedArg(Applications.scala:996)
[error] dotty.tools.dotc.typer.Applications$Application.addTyped$1(Applications.scala:688)
[error] dotty.tools.dotc.typer.Applications$Application.matchArgs(Applications.scala:752)
[error] dotty.tools.dotc.typer.Applications$Application.matchArgs(Applications.scala:752)
[error] dotty.tools.dotc.typer.Applications$Application.matchArgs(Applications.scala:752)
[error] dotty.tools.dotc.typer.Applications$Application.init(Applications.scala:574)
[error] dotty.tools.dotc.typer.Applications$TypedApply.<init>(Applications.scala:878)
[error] dotty.tools.dotc.typer.Applications$ApplyToUntyped.<init>(Applications.scala:995)
[error] dotty.tools.dotc.typer.Applications.ApplyTo(Applications.scala:1257)
[error] dotty.tools.dotc.typer.Applications.ApplyTo$(Applications.scala:434)
[error] dotty.tools.dotc.typer.Typer.ApplyTo(Typer.scala:145)
[error] dotty.tools.dotc.typer.Applications.simpleApply$1(Applications.scala:1068)
[error] dotty.tools.dotc.typer.Applications.realApply$1$$anonfun$2(Applications.scala:1178)
[error] dotty.tools.dotc.typer.Typer$.tryEither(Typer.scala:118)
[error] dotty.tools.dotc.typer.Applications.realApply$1(Applications.scala:1193)
[error] dotty.tools.dotc.typer.Applications.typedApply(Applications.scala:1231)
[error] dotty.tools.dotc.typer.Applications.typedApply$(Applications.scala:434)
[error] dotty.tools.dotc.inlines.Inliner$InlineTyper.typedApply(Inliner.scala:819)
[error] dotty.tools.dotc.typer.Typer.typedUnnamed$1(Typer.scala:3392)
[error] dotty.tools.dotc.typer.Typer.typedUnadapted(Typer.scala:3477)
[error] dotty.tools.dotc.inlines.Inliner$InlineTyper.typedUnadapted(Inliner.scala:943)
[error] dotty.tools.dotc.typer.Typer.typed(Typer.scala:3554)
[error] dotty.tools.dotc.typer.Typer.typed(Typer.scala:3558)
[error] dotty.tools.dotc.inlines.Inliner$InlineTyper.typedSelect(Inliner.scala:773)
[error] dotty.tools.dotc.typer.Typer.typedNamed$1(Typer.scala:3367)
[error] dotty.tools.dotc.typer.Typer.typedUnadapted(Typer.scala:3476)
[error] dotty.tools.dotc.inlines.Inliner$InlineTyper.typedUnadapted(Inliner.scala:943)
[error] dotty.tools.dotc.typer.Typer.typed(Typer.scala:3554)
[error] dotty.tools.dotc.typer.Typer.typed(Typer.scala:3558)
[error] dotty.tools.dotc.typer.Typer.typedExpr(Typer.scala:3669)
[error] dotty.tools.dotc.typer.Applications.typedTypeApply(Applications.scala:1284)
[error] dotty.tools.dotc.typer.Applications.typedTypeApply$(Applications.scala:434)
[error] dotty.tools.dotc.inlines.Inliner$InlineTyper.typedTypeApply(Inliner.scala:823)
[error] dotty.tools.dotc.typer.Typer.typedUnnamed$1(Typer.scala:3412)
[error] dotty.tools.dotc.typer.Typer.typedUnadapted(Typer.scala:3477)
[error] dotty.tools.dotc.inlines.Inliner$InlineTyper.typedUnadapted(Inliner.scala:943)
[error] dotty.tools.dotc.typer.Typer.typed(Typer.scala:3554)
[error] dotty.tools.dotc.typer.Typer.typed(Typer.scala:3558)
[error] dotty.tools.dotc.typer.Typer.typedExpr(Typer.scala:3669)
[error] dotty.tools.dotc.typer.Typer.typedValDef(Typer.scala:2753)
[error] dotty.tools.dotc.inlines.Inliner$InlineTyper.typedValDef(Inliner.scala:815)
[error] dotty.tools.dotc.typer.Typer.typedNamed$1(Typer.scala:3371)
[error] dotty.tools.dotc.typer.Typer.typedUnadapted(Typer.scala:3476)
[error] dotty.tools.dotc.inlines.Inliner$InlineTyper.typedUnadapted(Inliner.scala:943)
[error] dotty.tools.dotc.typer.Typer.typed(Typer.scala:3554)
[error] dotty.tools.dotc.typer.Typer.typed(Typer.scala:3551)
[error] dotty.tools.dotc.typer.Typer.typed(Typer.scala:3558)
[error] dotty.tools.dotc.typer.Typer.traverse$1(Typer.scala:3580)
[error] dotty.tools.dotc.typer.Typer.typedStats(Typer.scala:3626)
[error] dotty.tools.dotc.typer.Typer.typedBlockStats(Typer.scala:1377)
[error] dotty.tools.dotc.typer.Typer.typedBlock(Typer.scala:1381)
[error] dotty.tools.dotc.typer.Typer.typedUnnamed$1(Typer.scala:3400)
[error] dotty.tools.dotc.typer.Typer.typedUnadapted(Typer.scala:3477)
[error] dotty.tools.dotc.inlines.Inliner$InlineTyper.typedUnadapted(Inliner.scala:943)
[error] dotty.tools.dotc.typer.Typer.typed(Typer.scala:3554)
[error] dotty.tools.dotc.typer.Typer.typed(Typer.scala:3558)
[error] dotty.tools.dotc.typer.ReTyper.typedInlined(ReTyper.scala:100)
[error] dotty.tools.dotc.typer.Typer.typedUnnamed$1(Typer.scala:3415)
[error] dotty.tools.dotc.typer.Typer.typedUnadapted(Typer.scala:3477)
[error] dotty.tools.dotc.inlines.Inliner$InlineTyper.typedUnadapted(Inliner.scala:943)
[error] dotty.tools.dotc.typer.Typer.typed(Typer.scala:3554)
[error] dotty.tools.dotc.typer.Typer.typed(Typer.scala:3558)
[error] dotty.tools.dotc.inlines.Inliner$InlineTyper.typedSelect(Inliner.scala:773)
[error] dotty.tools.dotc.typer.Typer.typedNamed$1(Typer.scala:3367)
[error] dotty.tools.dotc.typer.Typer.typedUnadapted(Typer.scala:3476)
[error] dotty.tools.dotc.inlines.Inliner$InlineTyper.typedUnadapted(Inliner.scala:943)
[error] dotty.tools.dotc.typer.Typer.typed(Typer.scala:3554)
[error] dotty.tools.dotc.typer.Typer.typed(Typer.scala:3558)
[error] dotty.tools.dotc.typer.Typer.typedExpr(Typer.scala:3669)
[error] dotty.tools.dotc.typer.Applications.typedTypeApply(Applications.scala:1284)
[error] dotty.tools.dotc.typer.Applications.typedTypeApply$(Applications.scala:434)
[error] dotty.tools.dotc.inlines.Inliner$InlineTyper.typedTypeApply(Inliner.scala:823)
[error] dotty.tools.dotc.typer.Typer.typedUnnamed$1(Typer.scala:3412)
[error] dotty.tools.dotc.typer.Typer.typedUnadapted(Typer.scala:3477)
[error] dotty.tools.dotc.inlines.Inliner$InlineTyper.typedUnadapted(Inliner.scala:943)
[error] dotty.tools.dotc.typer.Typer.typed(Typer.scala:3554)
[error] dotty.tools.dotc.typer.Typer.typed(Typer.scala:3558)
[error] dotty.tools.dotc.typer.ReTyper.typedInlined(ReTyper.scala:100)
[error] dotty.tools.dotc.typer.Typer.typedUnnamed$1(Typer.scala:3415)
[error] dotty.tools.dotc.typer.Typer.typedUnadapted(Typer.scala:3477)
[error] dotty.tools.dotc.inlines.Inliner$InlineTyper.typedUnadapted(Inliner.scala:943)
[error] dotty.tools.dotc.typer.Typer.typed(Typer.scala:3554)
[error] dotty.tools.dotc.typer.Typer.typed(Typer.scala:3558)
[error] dotty.tools.dotc.typer.ReTyper.typedInlined(ReTyper.scala:100)
[error] dotty.tools.dotc.typer.Typer.typedUnnamed$1(Typer.scala:3415)
[error] dotty.tools.dotc.typer.Typer.typedUnadapted(Typer.scala:3477)
[error] dotty.tools.dotc.inlines.Inliner$InlineTyper.typedUnadapted(Inliner.scala:943)
[error] dotty.tools.dotc.typer.ProtoTypes$FunProto.$anonfun$7(ProtoTypes.scala:512)
[error] dotty.tools.dotc.typer.ProtoTypes$FunProto.cacheTypedArg(ProtoTypes.scala:435)
[error] dotty.tools.dotc.typer.ProtoTypes$FunProto.typedArg(ProtoTypes.scala:513)
[error] dotty.tools.dotc.typer.Applications$ApplyToUntyped.typedArg(Applications.scala:996)
[error] dotty.tools.dotc.typer.Applications$ApplyToUntyped.typedArg(Applications.scala:996)
[error] dotty.tools.dotc.typer.Applications$Application.addTyped$1(Applications.scala:688)
[error] dotty.tools.dotc.typer.Applications$Application.matchArgs(Applications.scala:752)
[error] dotty.tools.dotc.typer.Applications$Application.init(Applications.scala:574)
[error] dotty.tools.dotc.typer.Applications$TypedApply.<init>(Applications.scala:878)
[error] dotty.tools.dotc.typer.Applications$ApplyToUntyped.<init>(Applications.scala:995)
[error] dotty.tools.dotc.typer.Applications.ApplyTo(Applications.scala:1257)
[error] dotty.tools.dotc.typer.Applications.ApplyTo$(Applications.scala:434)
[error] dotty.tools.dotc.typer.Typer.ApplyTo(Typer.scala:145)
[error] dotty.tools.dotc.typer.Applications.simpleApply$1(Applications.scala:1068)
[error] dotty.tools.dotc.typer.Applications.realApply$1$$anonfun$2(Applications.scala:1178)
[error] dotty.tools.dotc.typer.Typer$.tryEither(Typer.scala:118)
[error] dotty.tools.dotc.typer.Applications.realApply$1(Applications.scala:1193)
[error] dotty.tools.dotc.typer.Applications.typedApply(Applications.scala:1231)
[error] dotty.tools.dotc.typer.Applications.typedApply$(Applications.scala:434)
[error] dotty.tools.dotc.inlines.Inliner$InlineTyper.typedApply(Inliner.scala:819)
[error] dotty.tools.dotc.typer.Typer.typedUnnamed$1(Typer.scala:3392)
[error] dotty.tools.dotc.typer.Typer.typedUnadapted(Typer.scala:3477)
[error] dotty.tools.dotc.inlines.Inliner$InlineTyper.typedUnadapted(Inliner.scala:943)
[error] dotty.tools.dotc.typer.ProtoTypes$FunProto.$anonfun$7(ProtoTypes.scala:512)
[error] dotty.tools.dotc.typer.ProtoTypes$FunProto.cacheTypedArg(ProtoTypes.scala:435)
[error] dotty.tools.dotc.typer.ProtoTypes$FunProto.typedArg(ProtoTypes.scala:513)
[error] dotty.tools.dotc.typer.Applications$ApplyToUntyped.typedArg(Applications.scala:996)
[error] dotty.tools.dotc.typer.Applications$ApplyToUntyped.typedArg(Applications.scala:996)
[error] dotty.tools.dotc.typer.Applications$Application.addTyped$1(Applications.scala:688)
[error] dotty.tools.dotc.typer.Applications$Application.matchArgs(Applications.scala:752)
[error] dotty.tools.dotc.typer.Applications$Application.matchArgs(Applications.scala:752)
[error] dotty.tools.dotc.typer.Applications$Application.init(Applications.scala:574)
[error] dotty.tools.dotc.typer.Applications$TypedApply.<init>(Applications.scala:878)
[error] dotty.tools.dotc.typer.Applications$ApplyToUntyped.<init>(Applications.scala:995)
[error] dotty.tools.dotc.typer.Applications.ApplyTo(Applications.scala:1257)
[error] dotty.tools.dotc.typer.Applications.ApplyTo$(Applications.scala:434)
[error] dotty.tools.dotc.typer.Typer.ApplyTo(Typer.scala:145)
[error] dotty.tools.dotc.typer.Applications.simpleApply$1(Applications.scala:1068)
[error] dotty.tools.dotc.typer.Applications.realApply$1$$anonfun$2(Applications.scala:1178)
[error] dotty.tools.dotc.typer.Typer$.tryEither(Typer.scala:118)
[error] dotty.tools.dotc.typer.Applications.realApply$1(Applications.scala:1193)
[error] dotty.tools.dotc.typer.Applications.typedApply(Applications.scala:1231)
[error] dotty.tools.dotc.typer.Applications.typedApply$(Applications.scala:434)
[error] dotty.tools.dotc.inlines.Inliner$InlineTyper.typedApply(Inliner.scala:819)
[error] dotty.tools.dotc.typer.Typer.typedUnnamed$1(Typer.scala:3392)
[error] dotty.tools.dotc.typer.Typer.typedUnadapted(Typer.scala:3477)
[error] dotty.tools.dotc.inlines.Inliner$InlineTyper.typedUnadapted(Inliner.scala:943)
[error] dotty.tools.dotc.typer.Typer.typed(Typer.scala:3554)
[error] dotty.tools.dotc.typer.Typer.typed(Typer.scala:3558)
[error] dotty.tools.dotc.typer.ReTyper.typedInlined(ReTyper.scala:100)
[error] dotty.tools.dotc.typer.Typer.typedUnnamed$1(Typer.scala:3415)
[error] dotty.tools.dotc.typer.Typer.typedUnadapted(Typer.scala:3477)
[error] dotty.tools.dotc.inlines.Inliner$InlineTyper.typedUnadapted(Inliner.scala:943)
[error] dotty.tools.dotc.typer.Typer.typed(Typer.scala:3554)
[error] dotty.tools.dotc.typer.Typer.typed(Typer.scala:3558)
[error] dotty.tools.dotc.typer.ReTyper.typedInlined(ReTyper.scala:100)
[error] dotty.tools.dotc.typer.Typer.typedUnnamed$1(Typer.scala:3415)
[error] dotty.tools.dotc.typer.Typer.typedUnadapted(Typer.scala:3477)
[error] dotty.tools.dotc.inlines.Inliner$InlineTyper.typedUnadapted(Inliner.scala:943)
[error] dotty.tools.dotc.typer.ProtoTypes$FunProto.$anonfun$7(ProtoTypes.scala:512)
[error] dotty.tools.dotc.typer.ProtoTypes$FunProto.cacheTypedArg(ProtoTypes.scala:435)
[error] dotty.tools.dotc.typer.ProtoTypes$FunProto.typedArg(ProtoTypes.scala:513)
[error] dotty.tools.dotc.typer.Applications$ApplyToUntyped.typedArg(Applications.scala:996)
[error] dotty.tools.dotc.typer.Applications$ApplyToUntyped.typedArg(Applications.scala:996)
[error] dotty.tools.dotc.typer.Applications$Application.addTyped$1(Applications.scala:688)
[error] dotty.tools.dotc.typer.Applications$Application.matchArgs(Applications.scala:752)
[error] dotty.tools.dotc.typer.Applications$Application.matchArgs(Applications.scala:752)
[error] dotty.tools.dotc.typer.Applications$Application.init(Applications.scala:574)
[error] dotty.tools.dotc.typer.Applications$TypedApply.<init>(Applications.scala:878)
[error] dotty.tools.dotc.typer.Applications$ApplyToUntyped.<init>(Applications.scala:995)
[error] dotty.tools.dotc.typer.Applications.ApplyTo(Applications.scala:1257)
[error] dotty.tools.dotc.typer.Applications.ApplyTo$(Applications.scala:434)
[error] dotty.tools.dotc.typer.Typer.ApplyTo(Typer.scala:145)
[error] dotty.tools.dotc.typer.Applications.simpleApply$1(Applications.scala:1068)
[error] dotty.tools.dotc.typer.Applications.realApply$1$$anonfun$2(Applications.scala:1178)
[error] dotty.tools.dotc.typer.Typer$.tryEither(Typer.scala:118)
[error] dotty.tools.dotc.typer.Applications.realApply$1(Applications.scala:1193)
[error] dotty.tools.dotc.typer.Applications.typedApply(Applications.scala:1231)
[error] dotty.tools.dotc.typer.Applications.typedApply$(Applications.scala:434)
[error] dotty.tools.dotc.inlines.Inliner$InlineTyper.typedApply(Inliner.scala:819)
[error] dotty.tools.dotc.typer.Typer.typedUnnamed$1(Typer.scala:3392)
[error] dotty.tools.dotc.typer.Typer.typedUnadapted(Typer.scala:3477)
[error] dotty.tools.dotc.inlines.Inliner$InlineTyper.typedUnadapted(Inliner.scala:943)
[error] dotty.tools.dotc.typer.Typer.typed(Typer.scala:3554)
[error] dotty.tools.dotc.typer.Typer.typed(Typer.scala:3558)
[error] dotty.tools.dotc.typer.ReTyper.typedInlined(ReTyper.scala:100)
[error] dotty.tools.dotc.typer.Typer.typedUnnamed$1(Typer.scala:3415)
[error] dotty.tools.dotc.typer.Typer.typedUnadapted(Typer.scala:3477)
[error] dotty.tools.dotc.inlines.Inliner$InlineTyper.typedUnadapted(Inliner.scala:943)
[error] dotty.tools.dotc.typer.Typer.typed(Typer.scala:3554)
[error] dotty.tools.dotc.typer.Typer.typed(Typer.scala:3551)
[error] dotty.tools.dotc.typer.Typer.typed(Typer.scala:3558)
[error] dotty.tools.dotc.inlines.Inliner$InlineTyper.typedSelect(Inliner.scala:773)
[error] dotty.tools.dotc.typer.Typer.typedNamed$1(Typer.scala:3367)
[error] dotty.tools.dotc.typer.Typer.typedUnadapted(Typer.scala:3476)
[error] dotty.tools.dotc.inlines.Inliner$InlineTyper.typedUnadapted(Inliner.scala:943)
[error] dotty.tools.dotc.typer.Typer.typed(Typer.scala:3554)
[error] dotty.tools.dotc.typer.Typer.typed(Typer.scala:3558)
[error] dotty.tools.dotc.typer.Typer.typedExpr(Typer.scala:3669)
[error] dotty.tools.dotc.typer.Applications.typedTypeApply(Applications.scala:1284)
[error] dotty.tools.dotc.typer.Applications.typedTypeApply$(Applications.scala:434)
[error] dotty.tools.dotc.inlines.Inliner$InlineTyper.typedTypeApply(Inliner.scala:823)
[error] dotty.tools.dotc.typer.Typer.typedUnnamed$1(Typer.scala:3412)
[error] dotty.tools.dotc.typer.Typer.typedUnadapted(Typer.scala:3477)
[error] dotty.tools.dotc.inlines.Inliner$InlineTyper.typedUnadapted(Inliner.scala:943)
[error] dotty.tools.dotc.typer.ProtoTypes$FunProto.$anonfun$7(ProtoTypes.scala:512)
[error] dotty.tools.dotc.typer.ProtoTypes$FunProto.cacheTypedArg(ProtoTypes.scala:435)
[error] dotty.tools.dotc.typer.ProtoTypes$FunProto.typedArg(ProtoTypes.scala:513)
[error] dotty.tools.dotc.typer.Applications$ApplyToUntyped.typedArg(Applications.scala:996)
[error] dotty.tools.dotc.typer.Applications$ApplyToUntyped.typedArg(Applications.scala:996)
[error] dotty.tools.dotc.typer.Applications$Application.addTyped$1(Applications.scala:688)
[error] dotty.tools.dotc.typer.Applications$Application.matchArgs(Applications.scala:752)
[error] dotty.tools.dotc.typer.Applications$Application.matchArgs(Applications.scala:752)
[error] dotty.tools.dotc.typer.Applications$Application.init(Applications.scala:574)
[error] dotty.tools.dotc.typer.Applications$TypedApply.<init>(Applications.scala:878)
[error] dotty.tools.dotc.typer.Applications$ApplyToUntyped.<init>(Applications.scala:995)
[error] dotty.tools.dotc.typer.Applications.ApplyTo(Applications.scala:1257)
[error] dotty.tools.dotc.typer.Applications.ApplyTo$(Applications.scala:434)
[error] dotty.tools.dotc.typer.Typer.ApplyTo(Typer.scala:145)
[error] dotty.tools.dotc.typer.Applications.simpleApply$1(Applications.scala:1068)
[error] dotty.tools.dotc.typer.Applications.realApply$1$$anonfun$2(Applications.scala:1178)
[error] dotty.tools.dotc.typer.Typer$.tryEither(Typer.scala:118)
[error] dotty.tools.dotc.typer.Applications.realApply$1(Applications.scala:1193)
[error] dotty.tools.dotc.typer.Applications.typedApply(Applications.scala:1231)
[error] dotty.tools.dotc.typer.Applications.typedApply$(Applications.scala:434)
[error] dotty.tools.dotc.inlines.Inliner$InlineTyper.typedApply(Inliner.scala:819)
[error] dotty.tools.dotc.typer.Typer.typedUnnamed$1(Typer.scala:3392)
[error] dotty.tools.dotc.typer.Typer.typedUnadapted(Typer.scala:3477)
[error] dotty.tools.dotc.inlines.Inliner$InlineTyper.typedUnadapted(Inliner.scala:943)
[error] dotty.tools.dotc.typer.Typer.typed(Typer.scala:3554)
[error] dotty.tools.dotc.typer.Typer.typed(Typer.scala:3558)
[error] dotty.tools.dotc.inlines.Inliner$InlineTyper.typedSelect(Inliner.scala:773)
[error] dotty.tools.dotc.typer.Typer.typedNamed$1(Typer.scala:3367)
[error] dotty.tools.dotc.typer.Typer.typedUnadapted(Typer.scala:3476)
[error] dotty.tools.dotc.inlines.Inliner$InlineTyper.typedUnadapted(Inliner.scala:943)
[error] dotty.tools.dotc.typer.Typer.typed(Typer.scala:3554)
[error] dotty.tools.dotc.typer.Typer.typed(Typer.scala:3558)
[error] dotty.tools.dotc.typer.Typer.typedExpr(Typer.scala:3669)
[error] dotty.tools.dotc.typer.Applications.typedTypeApply(Applications.scala:1284)
[error] dotty.tools.dotc.typer.Applications.typedTypeApply$(Applications.scala:434)
[error] dotty.tools.dotc.inlines.Inliner$InlineTyper.typedTypeApply(Inliner.scala:823)
[error] dotty.tools.dotc.typer.Typer.typedUnnamed$1(Typer.scala:3412)
[error] dotty.tools.dotc.typer.Typer.typedUnadapted(Typer.scala:3477)
[error] dotty.tools.dotc.inlines.Inliner$InlineTyper.typedUnadapted(Inliner.scala:943)
[error] dotty.tools.dotc.typer.Typer.typed(Typer.scala:3554)
[error] dotty.tools.dotc.typer.Typer.typed(Typer.scala:3558)
[error] dotty.tools.dotc.typer.Typer.typedExpr(Typer.scala:3669)
[error] dotty.tools.dotc.typer.Typer.typedValDef(Typer.scala:2753)
[error] dotty.tools.dotc.inlines.Inliner$InlineTyper.typedValDef(Inliner.scala:815)
[error] dotty.tools.dotc.typer.Typer.typedNamed$1(Typer.scala:3371)
[error] dotty.tools.dotc.typer.Typer.typedUnadapted(Typer.scala:3476)
[error] dotty.tools.dotc.inlines.Inliner$InlineTyper.typedUnadapted(Inliner.scala:943)
[error] dotty.tools.dotc.typer.Typer.typed(Typer.scala:3554)
[error] dotty.tools.dotc.typer.Typer.typed(Typer.scala:3551)
[error] dotty.tools.dotc.typer.Typer.typed(Typer.scala:3558)
[error] dotty.tools.dotc.typer.Typer.traverse$1(Typer.scala:3580)
[error] dotty.tools.dotc.typer.Typer.typedStats(Typer.scala:3626)
[error] dotty.tools.dotc.typer.Typer.typedBlockStats(Typer.scala:1377)
[error] dotty.tools.dotc.typer.Typer.typedBlock(Typer.scala:1381)
[error] dotty.tools.dotc.typer.Typer.typedUnnamed$1(Typer.scala:3400)
[error] dotty.tools.dotc.typer.Typer.typedUnadapted(Typer.scala:3477)
[error] dotty.tools.dotc.inlines.Inliner$InlineTyper.typedUnadapted(Inliner.scala:943)
[error] dotty.tools.dotc.typer.Typer.typed(Typer.scala:3554)
[error] dotty.tools.dotc.typer.Typer.typed(Typer.scala:3558)
[error] dotty.tools.dotc.typer.ReTyper.typedInlined(ReTyper.scala:100)
[error] dotty.tools.dotc.typer.Typer.typedUnnamed$1(Typer.scala:3415)
[error] dotty.tools.dotc.typer.Typer.typedUnadapted(Typer.scala:3477)
[error] dotty.tools.dotc.inlines.Inliner$InlineTyper.typedUnadapted(Inliner.scala:943)
[error] dotty.tools.dotc.typer.Typer.typed(Typer.scala:3554)
[error] dotty.tools.dotc.typer.Typer.typed(Typer.scala:3558)
[error] dotty.tools.dotc.inlines.Inliner$InlineTyper.typedSelect(Inliner.scala:773)
[error] dotty.tools.dotc.typer.Typer.typedNamed$1(Typer.scala:3367)
[error] dotty.tools.dotc.typer.Typer.typedUnadapted(Typer.scala:3476)
[error] dotty.tools.dotc.inlines.Inliner$InlineTyper.typedUnadapted(Inliner.scala:943)
[error] dotty.tools.dotc.typer.Typer.typed(Typer.scala:3554)
[error] dotty.tools.dotc.typer.Typer.typed(Typer.scala:3558)
[error] dotty.tools.dotc.typer.Typer.typedExpr(Typer.scala:3669)
[error] dotty.tools.dotc.typer.Applications.typedTypeApply(Applications.scala:1284)
[error] dotty.tools.dotc.typer.Applications.typedTypeApply$(Applications.scala:434)
[error] dotty.tools.dotc.inlines.Inliner$InlineTyper.typedTypeApply(Inliner.scala:823)
[error] dotty.tools.dotc.typer.Typer.typedUnnamed$1(Typer.scala:3412)
[error] dotty.tools.dotc.typer.Typer.typedUnadapted(Typer.scala:3477)
[error] dotty.tools.dotc.inlines.Inliner$InlineTyper.typedUnadapted(Inliner.scala:943)
[error] dotty.tools.dotc.typer.Typer.typed(Typer.scala:3554)
[error] dotty.tools.dotc.typer.Typer.typed(Typer.scala:3558)
[error] dotty.tools.dotc.typer.ReTyper.typedInlined(ReTyper.scala:100)
[error] dotty.tools.dotc.typer.Typer.typedUnnamed$1(Typer.scala:3415)
[error] dotty.tools.dotc.typer.Typer.typedUnadapted(Typer.scala:3477)
[error] dotty.tools.dotc.inlines.Inliner$InlineTyper.typedUnadapted(Inliner.scala:943)
[error] dotty.tools.dotc.typer.Typer.typed(Typer.scala:3554)
[error] dotty.tools.dotc.typer.Typer.typed(Typer.scala:3558)
[error] dotty.tools.dotc.typer.Typer.typedExpr(Typer.scala:3669)
[error] dotty.tools.dotc.inlines.Inliner$InlineTyper.typedSplice(Inliner.scala:840)
[error] dotty.tools.dotc.typer.Typer.typedUnnamed$1(Typer.scala:3438)
[error] dotty.tools.dotc.typer.Typer.typedUnadapted(Typer.scala:3477)
[error] dotty.tools.dotc.inlines.Inliner$InlineTyper.typedUnadapted(Inliner.scala:943)
[error] dotty.tools.dotc.typer.Typer.typed(Typer.scala:3554)
[error] dotty.tools.dotc.typer.Typer.typed(Typer.scala:3551)
[error] dotty.tools.dotc.typer.Typer.typed(Typer.scala:3558)
[error] dotty.tools.dotc.inlines.Inliner.inlined(Inliner.scala:680)
[error] dotty.tools.dotc.inlines.Inlines$InlineCall.expand(Inlines.scala:491)
[error] dotty.tools.dotc.inlines.Inlines$.inlineCall(Inlines.scala:163)
[error] dotty.tools.dotc.typer.Typer.adaptNoArgsOther$1(Typer.scala:4322)
[error] dotty.tools.dotc.typer.Typer.adaptNoArgs$1(Typer.scala:4430)
[error] dotty.tools.dotc.typer.Typer.adapt1(Typer.scala:4660)
[error] dotty.tools.dotc.typer.Typer.adapt(Typer.scala:3932)
[error] dotty.tools.dotc.typer.Typer.readapt$1(Typer.scala:3942)
[error] dotty.tools.dotc.typer.Typer.adapt1(Typer.scala:4648)
[error] dotty.tools.dotc.typer.Typer.adapt(Typer.scala:3932)
[error] dotty.tools.dotc.typer.Typer.typed(Typer.scala:3554)
[error] dotty.tools.dotc.typer.Typer.typed(Typer.scala:3558)
[error] dotty.tools.dotc.typer.Typer.typedExpr(Typer.scala:3669)
[error] dotty.tools.dotc.typer.Typer.typedValDef(Typer.scala:2753)
[error] dotty.tools.dotc.typer.Typer.typedNamed$1(Typer.scala:3371)
[error] dotty.tools.dotc.typer.Typer.typedUnadapted(Typer.scala:3476)
[error] dotty.tools.dotc.typer.Typer.typed(Typer.scala:3554)
[error] dotty.tools.dotc.typer.Typer.typed(Typer.scala:3558)
[error] dotty.tools.dotc.typer.Typer.traverse$1(Typer.scala:3580)
[error] dotty.tools.dotc.typer.Typer.typedStats(Typer.scala:3626)
[error] dotty.tools.dotc.typer.Typer.typedClassDef(Typer.scala:3074)
[error] dotty.tools.dotc.typer.Typer.typedTypeOrClassDef$1(Typer.scala:3380)
[error] dotty.tools.dotc.typer.Typer.typedNamed$1(Typer.scala:3384)
[error] dotty.tools.dotc.typer.Typer.typedUnadapted(Typer.scala:3476)
[error] dotty.tools.dotc.typer.Typer.typed(Typer.scala:3554)
[error] dotty.tools.dotc.typer.Typer.typed(Typer.scala:3558)
[error] dotty.tools.dotc.typer.Typer.traverse$1(Typer.scala:3580)
[error] dotty.tools.dotc.typer.Typer.typedStats(Typer.scala:3626)
[error] dotty.tools.dotc.typer.Typer.typedPackageDef(Typer.scala:3207)
[error] dotty.tools.dotc.typer.Typer.typedUnnamed$1(Typer.scala:3426)
[error] dotty.tools.dotc.typer.Typer.typedUnadapted(Typer.scala:3477)
[error] dotty.tools.dotc.typer.Typer.typed(Typer.scala:3554)
[error] dotty.tools.dotc.typer.Typer.typed(Typer.scala:3558)
[error] dotty.tools.dotc.typer.Typer.traverse$1(Typer.scala:3607)
[error] dotty.tools.dotc.typer.Typer.typedStats(Typer.scala:3626)
[error] dotty.tools.dotc.typer.Typer.typedPackageDef(Typer.scala:3207)
[error] dotty.tools.dotc.typer.Typer.typedUnnamed$1(Typer.scala:3426)
[error] dotty.tools.dotc.typer.Typer.typedUnadapted(Typer.scala:3477)
[error] dotty.tools.dotc.typer.Typer.typed(Typer.scala:3554)
[error] dotty.tools.dotc.typer.Typer.typed(Typer.scala:3558)
[error] dotty.tools.dotc.typer.Typer.traverse$1(Typer.scala:3607)
[error] dotty.tools.dotc.typer.Typer.typedStats(Typer.scala:3626)
[error] dotty.tools.dotc.typer.Typer.typedPackageDef(Typer.scala:3207)
[error] dotty.tools.dotc.typer.Typer.typedUnnamed$1(Typer.scala:3426)
[error] dotty.tools.dotc.typer.Typer.typedUnadapted(Typer.scala:3477)
[error] dotty.tools.dotc.typer.Typer.typed(Typer.scala:3554)
[error] dotty.tools.dotc.typer.Typer.typed(Typer.scala:3558)
[error] dotty.tools.dotc.typer.Typer.typedExpr(Typer.scala:3669)
[error] dotty.tools.dotc.typer.TyperPhase.typeCheck$$anonfun$1(TyperPhase.scala:47)
[error] scala.runtime.function.JProcedure1.apply(JProcedure1.java:15)
[error] scala.runtime.function.JProcedure1.apply(JProcedure1.java:10)
[error] dotty.tools.dotc.core.Phases$Phase.monitor(Phases.scala:503)
[error] dotty.tools.dotc.typer.TyperPhase.typeCheck(TyperPhase.scala:53)
[error] dotty.tools.dotc.typer.TyperPhase.$anonfun$4(TyperPhase.scala:99)
[error] scala.collection.Iterator$$anon$6.hasNext(Iterator.scala:479)
[error] scala.collection.Iterator$$anon$9.hasNext(Iterator.scala:583)
[error] scala.collection.immutable.List.prependedAll(List.scala:155)
[error] scala.collection.immutable.List$.from(List.scala:685)
[error] scala.collection.immutable.List$.from(List.scala:682)
[error] scala.collection.IterableOps$WithFilter.map(Iterable.scala:900)
[error] dotty.tools.dotc.typer.TyperPhase.runOn(TyperPhase.scala:98)
[error] dotty.tools.dotc.Run.runPhases$1$$anonfun$1(Run.scala:343)
[error] scala.runtime.function.JProcedure1.apply(JProcedure1.java:15)
[error] scala.runtime.function.JProcedure1.apply(JProcedure1.java:10)
[error] scala.collection.ArrayOps$.foreach$extension(ArrayOps.scala:1323)
[error] dotty.tools.dotc.Run.runPhases$1(Run.scala:336)
[error] dotty.tools.dotc.Run.compileUnits$$anonfun$1(Run.scala:384)
[error] dotty.tools.dotc.Run.compileUnits$$anonfun$adapted$1(Run.scala:396)
[error] dotty.tools.dotc.util.Stats$.maybeMonitored(Stats.scala:69)
[error] dotty.tools.dotc.Run.compileUnits(Run.scala:396)
[error] dotty.tools.dotc.Run.compileSources(Run.scala:282)
[error] dotty.tools.dotc.Run.compile(Run.scala:267)
[error] dotty.tools.dotc.Driver.doCompile(Driver.scala:37)
[error] dotty.tools.xsbt.CompilerBridgeDriver.run(CompilerBridgeDriver.java:141)
[error] dotty.tools.xsbt.CompilerBridge.run(CompilerBridge.java:22)
[error] sbt.internal.inc.AnalyzingCompiler.compile(AnalyzingCompiler.scala:91)
[error] sbt.internal.inc.MixedAnalyzingCompiler.$anonfun$compile$7(MixedAnalyzingCompiler.scala:194)
[error] scala.runtime.java8.JFunction0$mcV$sp.apply(JFunction0$mcV$sp.java:23)
[error] sbt.internal.inc.MixedAnalyzingCompiler.timed(MixedAnalyzingCompiler.scala:249)
[error] sbt.internal.inc.MixedAnalyzingCompiler.$anonfun$compile$4(MixedAnalyzingCompiler.scala:184)
[error] sbt.internal.inc.MixedAnalyzingCompiler.$anonfun$compile$4$adapted(MixedAnalyzingCompiler.scala:164)
[error] sbt.internal.inc.JarUtils$.withPreviousJar(JarUtils.scala:239)
[error] sbt.internal.inc.MixedAnalyzingCompiler.compileScala$1(MixedAnalyzingCompiler.scala:164)
[error] sbt.internal.inc.MixedAnalyzingCompiler.compile(MixedAnalyzingCompiler.scala:202)
[error] sbt.internal.inc.IncrementalCompilerImpl.$anonfun$compileInternal$1(IncrementalCompilerImpl.scala:534)
[error] sbt.internal.inc.IncrementalCompilerImpl.$anonfun$compileInternal$1$adapted(IncrementalCompilerImpl.scala:534)
[error] sbt.internal.inc.Incremental$.$anonfun$apply$3(Incremental.scala:178)
[error] sbt.internal.inc.Incremental$.$anonfun$apply$3$adapted(Incremental.scala:176)
[error] sbt.internal.inc.Incremental$$anon$2.run(Incremental.scala:454)
[error] sbt.internal.inc.IncrementalCommon$CycleState.next(IncrementalCommon.scala:117)
[error] sbt.internal.inc.IncrementalCommon$$anon$1.next(IncrementalCommon.scala:56)
[error] sbt.internal.inc.IncrementalCommon$$anon$1.next(IncrementalCommon.scala:52)
[error] sbt.internal.inc.IncrementalCommon.cycle(IncrementalCommon.scala:265)
[error] sbt.internal.inc.Incremental$.$anonfun$incrementalCompile$8(Incremental.scala:409)
[error] sbt.internal.inc.Incremental$.withClassfileManager(Incremental.scala:496)
[error] sbt.internal.inc.Incremental$.incrementalCompile(Incremental.scala:396)
[error] sbt.internal.inc.Incremental$.apply(Incremental.scala:170)
[error] sbt.internal.inc.IncrementalCompilerImpl.compileInternal(IncrementalCompilerImpl.scala:534)
[error] sbt.internal.inc.IncrementalCompilerImpl.$anonfun$compileIncrementally$1(IncrementalCompilerImpl.scala:488)
[error] sbt.internal.inc.IncrementalCompilerImpl.handleCompilationError(IncrementalCompilerImpl.scala:332)
[error] sbt.internal.inc.IncrementalCompilerImpl.compileIncrementally(IncrementalCompilerImpl.scala:425)
[error] sbt.internal.inc.IncrementalCompilerImpl.compile(IncrementalCompilerImpl.scala:137)
[error] sbt.Defaults$.compileIncrementalTaskImpl(Defaults.scala:2427)
[error] sbt.Defaults$.$anonfun$compileIncrementalTask$2(Defaults.scala:2377)
[error] sbt.internal.server.BspCompileTask$.$anonfun$compute$1(BspCompileTask.scala:41)
[error] sbt.internal.io.Retry$.apply(Retry.scala:47)
[error] sbt.internal.io.Retry$.apply(Retry.scala:29)
[error] sbt.internal.io.Retry$.apply(Retry.scala:24)
[error] sbt.internal.server.BspCompileTask$.compute(BspCompileTask.scala:41)
[error] sbt.Defaults$.$anonfun$compileIncrementalTask$1(Defaults.scala:2375)
[error] scala.Function1.$anonfun$compose$1(Function1.scala:49)
[error] sbt.internal.util.$tilde$greater.$anonfun$$u2219$1(TypeFunctions.scala:63)
[error] sbt.std.Transform$$anon$4.work(Transform.scala:69)
[error] sbt.Execute.$anonfun$submit$2(Execute.scala:283)
[error] sbt.internal.util.ErrorHandling$.wideConvert(ErrorHandling.scala:24)
[error] sbt.Execute.work(Execute.scala:292)
[error] sbt.Execute.$anonfun$submit$1(Execute.scala:283)
[error] sbt.ConcurrentRestrictions$$anon$4.$anonfun$submitValid$1(ConcurrentRestrictions.scala:265)
[error] sbt.CompletionService$$anon$2.call(CompletionService.scala:65)
[error] java.base/java.util.concurrent.FutureTask.run(FutureTask.java:317)

@KacperFKorban

This comment was marked as outdated.

@SethTisue
Copy link
Member

@ghostdogpr are you able to minimize it to something you could share...?

@SethTisue
Copy link
Member

SethTisue commented Dec 11, 2024

note that the @ghostdogpr failure says:

[error] java.lang.AssertionError: assertion failed: position not set for new scala.annotation.experimental("Added by -experimental") # -1 of class dotty.tools.dotc.ast.Trees$Apply in <no file>

but the original report says:

exception caught when loading module class module-info$: java.lang.AssertionError: assertion failed: attempt to parse java.lang.Object from classfile

so offhand, these look like separate issues that just happen to share a cause of being triggered by -experimental

@ghostdogpr
Copy link
Contributor

I investigated a little more and it seemed caused by a macro in zio-schema. It's not easy to make a reproducer but at least I was able to find a workaround.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:experimental area:posttyper Issues caught during the posttyper compiler phase. area:typer itype:bug stat:needs minimization Needs a self contained minimization
Projects
None yet
Development

No branches or pull requests

5 participants