-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Closed
Closed
Copy link
Labels
area:experimental:modularityIssues related to the modularity extension.Issues related to the modularity extension.itype:bug
Milestone
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:
report.error(em"Internal error in the incremental compiler while compiling ${ctx.compilationUnit.source}: $msg", pos) |
Same error when compiling with Scala CLI, without -Yforce-sbt-phases
.
Expectation
No error
Metadata
Metadata
Assignees
Labels
area:experimental:modularityIssues related to the modularity extension.Issues related to the modularity extension.itype:bug