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

Unified Diff: dart/sdk/lib/_internal/compiler/implementation/elements/modelx.dart

Issue 136753002: Version 1.1.0-dev.5.9 (Closed) Base URL: http://dart.googlecode.com/svn/trunk/
Patch Set: Created 6 years, 11 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: dart/sdk/lib/_internal/compiler/implementation/elements/modelx.dart
===================================================================
--- dart/sdk/lib/_internal/compiler/implementation/elements/modelx.dart (revision 31731)
+++ dart/sdk/lib/_internal/compiler/implementation/elements/modelx.dart (working copy)
@@ -1518,8 +1518,7 @@
assert(invariant(this, redirectionTargetType != null,
message: 'Redirection target type has not yet been computed for '
'$this.'));
- return redirectionTargetType.subst(newType.typeArguments,
- newType.element.typeVariables);
+ return redirectionTargetType.substByContext(newType);
}
/**
@@ -1671,6 +1670,8 @@
return functionSignature = compiler.objectClass.localLookup('')
.computeSignature(compiler);
}
+ // TODO(johnniwinther): Ensure that the function signature (and with it the
+ // function type) substitutes type variables correctly.
return functionSignature = superMember.computeSignature(compiler);
}

Powered by Google App Engine
This is Rietveld 408576698