-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
unimplemented error using analyzer api #29759
Comments
@scheglov @stereotype441 This was left as a TODO in the code, and I'm not confident that I know what needs to be done here. If either of you knows, perhaps we can talk about it off-line. |
It's been long enough since I've worked on this code that I don't remember precisely what needs to be done, but I'd be glad to talk about it and help figure out. |
@MichaelRFairhurst, Yes, it would be helpful to get source code. I think I saw this error once in logs, but was not able to reproduce it yet. Hm... Or maybe I have been able? |
Looks like the issue is with "Html5LibDomAdapter.on" which is in "project_root/.pub/deps/debug/angular2/lib/src/platform/server/html_adapter.dart". I'm thinking I might just have to build pub again...Gonna zip that up first. |
Hm... I was not able to reproduce the problem on Angular2 anymore. But I was able to reproduce the problem with a test case. void solo_test_inferredType_parameter_functionTyped() {
var bundle = createPackageBundle(
'''
class A {
void foo(void bar(int arg)) {}
}
class B extends A {
void foo(bar) {}
}
''',
path: '/a.dart');
addBundle('/a.ds', bundle);
createLinker('''
import 'a.dart';
class C extends B {
void foo(bar) {}
}
''');
LibraryElementForLink library = linker.getLibrary(linkerInputs.testDartUri);
library.libraryCycleForLink.ensureLinked();
ClassElementForLink_Class cls = library.getContainedName('C');
expect(cls.methods, hasLength(1));
MethodElementForLink foo = cls.methods[0];
expect(foo.parameters, hasLength(1));
FunctionType barType = foo.parameters[0].type;
expect(barType.parameters[0].type.toString(), 'int');
} |
…ink.resolveTypeRef(). #29759 #29533 R=paulberry@google.com BUG= Review-Url: https://codereview.chromium.org/2925663002 .
Getting this analyzing a simple project. Can provide source if the exception isn't self explanatory
The text was updated successfully, but these errors were encountered: