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

Unified Diff: lib/compiler/implementation/tools/mini_parser.dart

Issue 11238035: Make isEmpty a getter. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Update status file with co19 issue number. Created 8 years, 2 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: lib/compiler/implementation/tools/mini_parser.dart
diff --git a/lib/compiler/implementation/tools/mini_parser.dart b/lib/compiler/implementation/tools/mini_parser.dart
index 492b815c0e409fc7787cdecfa600803f5db7b647..cc01492c1bc5efcd2da72f3fc6a0d413dfc59fc0 100644
--- a/lib/compiler/implementation/tools/mini_parser.dart
+++ b/lib/compiler/implementation/tools/mini_parser.dart
@@ -114,7 +114,7 @@ void parseFile(String filename, MyOptions options) {
}
if (options.buildAst) {
MyNodeListener l = listener;
- if (!l.nodes.isEmpty()) {
+ if (!l.nodes.isEmpty) {
String message = 'Stack not empty after parsing';
print(formatError(message, l.nodes.head.getBeginToken(),
l.nodes.head.getEndToken(), file));
« no previous file with comments | « lib/compiler/implementation/ssa/variable_allocator.dart ('k') | lib/compiler/implementation/tree/dartstring.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698