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
-- [E008] NotFoundError: tests/run/tuples1c.scala:5:37-----------------------5|valy:String#:TupleK= tup.tail.tail
|^^^^^^^^^^^^^|value tail is not a member of TupleK.Tail[This] - did you mean TupleK.Tail[This].wait?||where: This is a typevariablewith constraint >: (Test.this.tup :Char#:Int#:String#:TupleK) and <:NonEmptyTupleK-- [E008] NotFoundError: tests/run/tuples1c.scala:6:25-----------------------6|valz:Unit= tup.tail.tail
|^^^^^^^^^^^^^|value tail is not a member of TupleK.Tail[This] - did you mean TupleK.Tail[This].wait?||where: This is a typevariablewith constraint >: (Test.this.tup :Char#:Int#:String#:TupleK) and <:NonEmptyTupleK2 errors found
Expectation
They compile with the inline, the should also compile without it.
The text was updated successfully, but these errors were encountered:
The `couldInstantiateTypeVar` method instantiated only type variables
that were the constructor of an applied type. But sometimes we
might also need to instantiate the argument(s), since doing so can
influence the members of the applied type. This happens in two cases
1. The applied type's rhs is a match type
2. The applied type's result is one of its type parameters
i11236.scala tests the first case, the additions to i9567.scala the second.
Fixesscala#11236
The `couldInstantiateTypeVar` method instantiated only type variables
that were the constructor of an applied type. But sometimes we
might also need to instantiate the argument(s), since doing so can
influence the members of the applied type. This happens in two cases
1. The applied type's rhs is a match type
2. The applied type's result is one of its type parameters
i11236.scala tests the first case, the additions to i9567.scala the second.
Fixesscala#11236
Minimized code
Output
Expectation
They compile with the inline, the should also compile without it.
The text was updated successfully, but these errors were encountered: