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

Unified Diff: pkg/compiler/lib/src/elements/modelx.dart

Issue 2108673002: Effective type can be malformed. (Closed) Base URL: sso://user/ahe/dart-sdk@vm_patch_files
Patch Set: Created 4 years, 6 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/compiler/lib/src/elements/modelx.dart
diff --git a/pkg/compiler/lib/src/elements/modelx.dart b/pkg/compiler/lib/src/elements/modelx.dart
index d2452ef73f6b33ee9b15947918736644bd307143..f3fb7a0223039e5c8ec6bac1d34556c34d9daeff 100644
--- a/pkg/compiler/lib/src/elements/modelx.dart
+++ b/pkg/compiler/lib/src/elements/modelx.dart
@@ -2227,13 +2227,13 @@ abstract class ConstructorElementX extends FunctionElementX
return this;
}
- InterfaceType get effectiveTargetType {
+ DartType get effectiveTargetType {
assert(invariant(this, _effectiveTargetType != null,
message: 'Effective target type has not yet been computed for $this.'));
return _effectiveTargetType;
}
- InterfaceType computeEffectiveTargetType(InterfaceType newType) {
+ DartType computeEffectiveTargetType(InterfaceType newType) {
if (!isRedirectingFactory) return newType;
return effectiveTargetType.substByContext(newType);
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698