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
source/mymodule/run.ceylon:5: error: C is not abstract and does not override abstract method method(Collection<A>) in B
class C() satisfies B {
^
source/mymodule/run.ceylon:7: error: name clash: method(Collection<A<? extends Object>>) in C and method(Collection<A>) in B have the same erasure, yet neither overrides the other
shared actual void method(Collection<A<out Object>>? a) {
^
2 errors
Ceylon forces me to override Collection<A> with Collection<A<out Object>>, and unfortunately I can't fix the Java interface to use Collection<A<Whatever>>.
The text was updated successfully, but these errors were encountered:
Given the following scenario:
I get the following error:
Ceylon forces me to override
Collection<A>
withCollection<A<out Object>>
, and unfortunately I can't fix the Java interface to useCollection<A<Whatever>>
.The text was updated successfully, but these errors were encountered: