Closed
Description
Compiler version
3.6.3
Minimized code
//> using scala 3.6.3
//> using options -Yforce-sbt-phases
import language.experimental.modularity
trait T(tracked val y: Int)
class C(x: Int) extends T(x + 1)
@main def main = ()
Output
Internal error in the incremental compiler while compiling /Users/mbovel/scala-snippets-6/closure_bug.scala: Unhandled type (?1 : Int) of class class dotty.tools.dotc.core.Types$SkolemType
Seems to be reported from:
Same error when compiling with Scala CLI, without -Yforce-sbt-phases
.
Expectation
No error