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

Unified Diff: pkg/compiler/lib/src/resolution/resolution.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
« no previous file with comments | « pkg/compiler/lib/src/resolution/members.dart ('k') | pkg/compiler/lib/src/serialization/modelz.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/compiler/lib/src/resolution/resolution.dart
diff --git a/pkg/compiler/lib/src/resolution/resolution.dart b/pkg/compiler/lib/src/resolution/resolution.dart
index 14068d2e860f82b96243349aaed6e132868001e0..2a25c18ef0fa9888b73207517cb097aa07518365 100644
--- a/pkg/compiler/lib/src/resolution/resolution.dart
+++ b/pkg/compiler/lib/src/resolution/resolution.dart
@@ -417,8 +417,7 @@ class ResolverTask extends CompilerTask {
return result;
}
- void resolveRedirectionChain(
- ConstructorElement constructor, Spannable node) {
+ void resolveRedirectionChain(ConstructorElement constructor, Spannable node) {
ConstructorElement target = constructor;
InterfaceType targetType;
List<Element> seen = new List<Element>();
@@ -429,8 +428,8 @@ class ResolverTask extends CompilerTask {
// We found a constructor that already has been processed.
// TODO(johnniwinther): Should `effectiveTargetType` be part of the
// interface?
- targetType = target.computeEffectiveTargetType(
- target.enclosingClass.thisType);
+ targetType =
+ target.computeEffectiveTargetType(target.enclosingClass.thisType);
assert(invariant(target, targetType != null,
message: 'Redirection target type has not been computed for '
'$target'));
@@ -668,11 +667,11 @@ class ResolverTask extends CompilerTask {
}
void computeClassMembers(ClassElement element) {
- MembersCreator.computeAllClassMembers(compiler, element);
+ MembersCreator.computeAllClassMembers(resolution, element);
}
void computeClassMember(ClassElement element, String name) {
- MembersCreator.computeClassMembersByName(compiler, element, name);
+ MembersCreator.computeClassMembersByName(resolution, element, name);
}
void checkClass(ClassElement element) {
« no previous file with comments | « pkg/compiler/lib/src/resolution/members.dart ('k') | pkg/compiler/lib/src/serialization/modelz.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698