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] ./test.scala:20:26:Type argument Tail does not conform to lower bound Tuple.Tail[Subtype.Aux[OldT, N] *:Tail]
[error] ):Out= withSubtype *: subtypes.tail
[error]
Expectation
Should compile
The text was updated successfully, but these errors were encountered:
deffoo[S, T, Tail<:Tuple](s: S*:Tail, t: T):T*:Tail= t *: s.tail
-- [E057] Type Mismatch Error: test.scala:1:64 ---------------------------------
1 |def foo[S, T, Tail <: Tuple](s: S *: Tail, t: T): T *: Tail = t *: s.tail
| ^
| Type argument Tail does not conform to lower bound Tuple.Tail[S *: Tail]
|
| Note: a match type could not be fully reduced:
|
| trying to reduce Tuple.Tail[S *: Tail]
| failed since selector S *: Tail
| does not uniquely determine parameters _, xs in
| case _ *: xs => xs
| The computed bounds for the parameters are:
| _ >: S
| xs >: Tail <: Tuple
|
| longer explanation available when compiling with `-explain`
Uh oh!
There was an error while loading. Please reload this page.
Community build regression for https://github.com/johnhungerford/generic-schema (maintainer @johnhungerford)
Based on Open Community Build #2564
Part of #15647 regressions tracker
Compiler version
Works in 3.1.2
Fails in 3.1.3
Fails in 3.2.1-RC1-bin-20220712-7e20b81-NIGHTLY
Probably further minimization might be helpfull
Minimized code
Output
Expectation
Should compile
The text was updated successfully, but these errors were encountered: