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

Unified Diff: frog/world.dart

Issue 8497064: Fix method resolution to warn about things that don't exist on the declared type. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 9 years, 1 month 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 | « frog/value.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: frog/world.dart
diff --git a/frog/world.dart b/frog/world.dart
index 92e90250e6bb4346dc5d3b6138ffd1e8fad85f54..6457a77b6f2e92f5628fbecc07e711535967695b 100644
--- a/frog/world.dart
+++ b/frog/world.dart
@@ -84,21 +84,21 @@ class World {
bool seenFatal = false;
// Special types to Dart.
- Type varType;
+ DefinedType varType;
// TODO(jimhug): Is this ever not === varType?
- Type dynamicType;
-
- Type voidType;
-
- Type objectType;
- Type numType;
- Type intType;
- Type doubleType;
- Type boolType;
- Type stringType;
- Type listType;
- Type mapType;
- Type functionType;
+ DefinedType dynamicType;
+
+ DefinedType voidType;
+
+ DefinedType objectType;
+ DefinedType numType;
+ DefinedType intType;
+ DefinedType doubleType;
+ DefinedType boolType;
+ DefinedType stringType;
+ DefinedType listType;
+ DefinedType mapType;
+ DefinedType functionType;
World(this.files)
: libraries = {}, _todo = [], _members = {}, _topNames = {},
« no previous file with comments | « frog/value.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698