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

Unified Diff: pkg/dartdoc/lib/src/mirrors/dart2js_mirror.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 | « pkg/dartdoc/lib/src/markdown/html_renderer.dart ('k') | pkg/dartdoc/lib/src/mirrors/util.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/dartdoc/lib/src/mirrors/dart2js_mirror.dart
diff --git a/pkg/dartdoc/lib/src/mirrors/dart2js_mirror.dart b/pkg/dartdoc/lib/src/mirrors/dart2js_mirror.dart
index 55c0f82ba0d3cd791cecc4ed88a3d36b06749aee..ac98d602f00449482bff6891227a5bc63f6a1def 100644
--- a/pkg/dartdoc/lib/src/mirrors/dart2js_mirror.dart
+++ b/pkg/dartdoc/lib/src/mirrors/dart2js_mirror.dart
@@ -40,13 +40,13 @@ List<ParameterMirror> _parametersFromFunctionSignature(
FunctionSignature signature) {
var parameters = <ParameterMirror>[];
Link<Element> link = signature.requiredParameters;
- while (!link.isEmpty()) {
+ while (!link.isEmpty) {
parameters.add(new Dart2JsParameterMirror(
system, method, link.head, false));
link = link.tail;
}
link = signature.optionalParameters;
- while (!link.isEmpty()) {
+ while (!link.isEmpty) {
parameters.add(new Dart2JsParameterMirror(
system, method, link.head, true));
link = link.tail;
@@ -737,7 +737,7 @@ class Dart2JsInterfaceMirror extends Dart2JsObjectMirror
List<InterfaceMirror> get interfaces {
var list = <InterfaceMirror>[];
Link<DartType> link = _class.interfaces;
- while (!link.isEmpty()) {
+ while (!link.isEmpty) {
var type = _convertTypeToTypeMirror(system, link.head,
system.compiler.types.dynamicType);
list.add(type);
« no previous file with comments | « pkg/dartdoc/lib/src/markdown/html_renderer.dart ('k') | pkg/dartdoc/lib/src/mirrors/util.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698