Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(34)

Unified Diff: pkg/compiler/lib/src/typechecker.dart

Issue 2000663002: Handle resolvedAst for forwarding constructors and callType on unnamed mixin applications. (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Fix test. Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: pkg/compiler/lib/src/typechecker.dart
diff --git a/pkg/compiler/lib/src/typechecker.dart b/pkg/compiler/lib/src/typechecker.dart
index 5de81a6675ecf2637c65bb4d5f1070355cdea573..d032dbd56baf878b64011c45158318f6b5b27bcd 100644
--- a/pkg/compiler/lib/src/typechecker.dart
+++ b/pkg/compiler/lib/src/typechecker.dart
@@ -716,7 +716,7 @@ class TypeCheckerVisitor extends Visitor<DartType> {
// Lookup the class or interface member [name] in [interface].
MemberSignature lookupMemberSignature(Name name, InterfaceType interface) {
MembersCreator.computeClassMembersByName(
- compiler, interface.element, name.text);
+ resolution, interface.element, name.text);
return lookupClassMember || analyzingInitializer
? interface.lookupClassMember(name)
: interface.lookupInterfaceMember(name);
@@ -799,7 +799,7 @@ class TypeCheckerVisitor extends Visitor<DartType> {
}
}
// TODO(johnniwinther): Avoid computation of all class members.
- MembersCreator.computeAllClassMembers(compiler, interface.element);
+ MembersCreator.computeAllClassMembers(resolution, interface.element);
if (lookupClassMember) {
interface.element.forEachClassMember(findPrivateMember);
} else {
« no previous file with comments | « pkg/compiler/lib/src/serialization/task.dart ('k') | tests/compiler/dart2js/diagnostic_reporter_helper.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698