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
traitOne[X] {
defconcat(suffix: Int):X=???
}
traitTwo[Y<:Foo] {
defconcat[Dummy](suffix: Int):Y=???
}
classFooextendsOne[Foo] withTwo[Foo] {
concat(0) // OK// TODO: This does not typecheck because the polymorphic overload is masked// (we merge the denotations for both overloads into one and always prefer// MethodType to PolyType, instead we should return a MultiDenotation). See #4819.
concat[Int](0) // error (that should actually not be an error)
}
The text was updated successfully, but these errors were encountered:
This is a follow-up to #4819:
The text was updated successfully, but these errors were encountered: