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

Unified Diff: runtime/vm/parser.cc

Issue 10876100: Convert double interface into abstract class (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years, 4 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: runtime/vm/parser.cc
===================================================================
--- runtime/vm/parser.cc (revision 11396)
+++ runtime/vm/parser.cc (working copy)
@@ -4683,7 +4683,7 @@
*value = CurrentIntegerLiteral();
return true;
} else if ((CurrentToken() == Token::kDOUBLE) &&
- (no_check || type.IsDoubleInterface() || type.IsNumberType())) {
+ (no_check || type.IsDoubleType() || type.IsNumberType())) {
*value = CurrentDoubleLiteral();
return true;
} else if ((CurrentToken() == Token::kSTRING) &&
« runtime/vm/object.cc ('K') | « runtime/vm/object_test.cc ('k') | runtime/vm/snapshot.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698