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
[error] java.lang.IndexOutOfBoundsException:1
[error] at scala.collection.LinearSeqOps.apply(LinearSeq.scala:131)
[error] at scala.collection.LinearSeqOps.apply$(LinearSeq.scala:128)
[error] at scala.collection.immutable.List.apply(List.scala:79)
[error] at dotty.tools.dotc.transform.CheckUnused.transformSelect(CheckUnused.scala:72)
[error] at dotty.tools.dotc.transform.CheckUnused.transformSelect(CheckUnused.scala:67)
[error] at dotty.tools.dotc.transform.MegaPhase.goSelect(MegaPhase.scala:636)
which is
overridedeftransformSelect(tree: Select)(usingContext): tree.type=valname= tree.removeAttachment(OriginalName).getOrElse(nme.NO_NAME)
if tree.span.isSynthetic && tree.symbol == defn.TypeTest_unapplythen
tree.qualifier.tpe.underlying.finalResultType matchcaseAppliedType(_, args) =>// tycon.typeSymbol == defn.TypeTestClassvalres= args(1) // T in TypeTest[-S, T]
Maybe because of the alias. The code here assumes there are two type args.
The text was updated successfully, but these errors were encountered:
Compiler version
3.7.0-RC1-bin-SNAPSHOT
Minimized code
Output (click arrow to expand)
which is
Maybe because of the alias. The code here assumes there are two type args.
The text was updated successfully, but these errors were encountered: