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

Unified Diff: utils/template/codegen.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
« no previous file with comments | « utils/pub/yaml/yaml_map.dart ('k') | utils/tests/pub/test_pub.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: utils/template/codegen.dart
diff --git a/utils/template/codegen.dart b/utils/template/codegen.dart
index 535cbda5130e47353395c50dc80eabf86afc37e8..cc8c0a1cf170bb518f6d6d250e637b1b9266480b 100644
--- a/utils/template/codegen.dart
+++ b/utils/template/codegen.dart
@@ -26,7 +26,7 @@ class CGBlock {
assert(_blockType >= CGBlock.CONSTRUCTOR && _blockType <= CGBlock.WITH);
}
- bool get anyStatements => !_stmts.isEmpty();
+ bool get anyStatements => !_stmts.isEmpty;
bool get isConstructor => _blockType == CGBlock.CONSTRUCTOR;
bool get isEach => _blockType == CGBlock.EACH;
bool get isWith => _blockType == CGBlock.WITH;
« no previous file with comments | « utils/pub/yaml/yaml_map.dart ('k') | utils/tests/pub/test_pub.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698