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

Unified Diff: sdk/lib/_internal/compiler/implementation/resolution/members.dart

Issue 161333002: Fix null.runtimeType, reflect(null).type.superinterfaces, and reflect(null).getField. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 10 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: sdk/lib/_internal/compiler/implementation/resolution/members.dart
diff --git a/sdk/lib/_internal/compiler/implementation/resolution/members.dart b/sdk/lib/_internal/compiler/implementation/resolution/members.dart
index 4ab41ca0c8b2f627d2196b02a7b7cbe60a7088b0..f97438cec143959f42c7e5ab2a689f85c6bf94c8 100644
--- a/sdk/lib/_internal/compiler/implementation/resolution/members.dart
+++ b/sdk/lib/_internal/compiler/implementation/resolution/members.dart
@@ -803,7 +803,7 @@ class ResolverTask extends CompilerTask {
element.origin.ensureResolved(compiler);
// Ensure that the type is computed.
element.computeType(compiler);
- // Copy class hiearchy from origin.
+ // Copy class hierarchy from origin.
element.supertype = element.origin.supertype;
element.interfaces = element.origin.interfaces;
element.allSupertypesAndSelf = element.origin.allSupertypesAndSelf;

Powered by Google App Engine
This is Rietveld 408576698