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); |