Skip to content
This repository has been archived by the owner on Feb 22, 2018. It is now read-only.

private methods are incorrectly overriding methods from a different library #366

Closed
jmesserly opened this issue Oct 14, 2015 · 1 comment

Comments

@jmesserly
Copy link
Contributor

Pretty self explanatory:

Error:(559, 3) Invalid override. The type of RestrictedStaticTypeAnalyzer._matchGeneric ((MethodInvocation, Element) → DartType) is not a subtype of StaticTypeAnalyzer._matchGeneric ((MethodInvocation) → DartType).

RestrictedStaticTypeAnalyzer is in package:dev_compiler/src/checker/resolver.dart
StaticTypeAnalyzer is in package:analyzer

FWIW, IntelliJ also shows this as an override, even though it isn't. Those methods effectively have different names in Dart.

@jmesserly
Copy link
Contributor Author

I can no longer reproduce this.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Development

No branches or pull requests

1 participant