Closed
Description
class A<T> {
void foo(T p) {}
}
class B<U> extends A<U> {}
class C extends B<int> {
void bar() {
foo(1);
}
}
In this code foo(1)
invocation is resolved to root::package:test/test.dart::C::@methods::foo
, but C
does not define foo
, so Analyzer cannot find it when translating CanonicalName
to MethodElement
.