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
cannot merge
method append in traitBuffer of type (elems: A*): (Buffer.this: scala.collection.mutable.Buffer[A]) and
method append in traitBuffer of type (elem: A): (Buffer.this: scala.collection.mutable.Buffer[A])
they are both defined in traitBuffer but have matching signatures
(elems: Seq[Double]*):
(Foo.foo : scala.collection.mutable.ArrayBuffer[Seq[Double]]) and
(elem: Seq[Double]):
(Foo.foo : scala.collection.mutable.ArrayBuffer[Seq[Double]])
as members of value foo
Expectation
For Dotty to pick the non-varargs method.
The text was updated successfully, but these errors were encountered:
Those have the same signatures, but are otherwise unrelated. It would be good to figure out how to deal with this sooner rather than later since tasty critically relies on signatures for overload resolution.
This is the inverse of the problem detailed in #8929
Using Scastie - this compiles on Scala 2.13.2 but not Dotty (0.24.0-RC1)
Minimized code
Output
Expectation
For Dotty to pick the non-varargs method.
The text was updated successfully, but these errors were encountered: