You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
def main(args: String[]): Unit =
{
val t: Object =
{
???():
{
type evidence$1$_$1 = Int
type evidence$2$_$1 = String
scala.collection.immutable.Map[Int, String]
}
}:Object
println(t)
}
}
} of class class dotty.tools.dotc.ast.Trees$PackageDef# 3655*** error while checking /Users/bibou/Projects/dotty/tests/run/iXXXX/TupleX_2.scala after phase erasure ***
java.lang.AssertionError: assertion failed: The type scala.collection.immutable.Map[Int, String] - AppliedType(TypeRef(ThisType(TypeRef(NoPrefix,module class immutable)),class Map),List(TypeRef(TermRef(ThisType(TypeRef(NoPrefix,module class <root>)),module scala),class Int), TypeRef(TermRef(ThisType(TypeRef(NoPrefix,module class scala)),module Predef),type String))) of class class dotty.tools.dotc.core.Types$CachedAppliedType of tree {
type evidence$1$_$1 = Int
type evidence$2$_$1 = String
scala.collection.immutable.Map[Int, String]
} : scala.collection.immutable.Map[Int, String] / class dotty.tools.dotc.ast.Trees$Block is illegal after erasure, phase = erasure while compiling /Users/bibou/Projects/dotty/tests/run/iXXXX/TupleX_2.scala
Compilation failed for: 'tests/run/iXXXX'
The text was updated successfully, but these errors were encountered:
Uh oh!
There was an error while loading. Please reload this page.
#5822 brought me here:
Minimal reproduction:
-->
The text was updated successfully, but these errors were encountered: