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 37eed486e7ae7b7923ffc038ec9b0d0ba1859286..e8f739a25e20b02ac68022c9edc5be65fb72702d 100644 |
--- a/pkg/dartdoc/lib/src/mirrors/dart2js_mirror.dart |
+++ b/pkg/dartdoc/lib/src/mirrors/dart2js_mirror.dart |
@@ -1059,12 +1059,12 @@ class Dart2JsInterfaceTypeMirror extends Dart2JsTypeElementMirror |
} |
var thisTypeArguments = typeArguments.iterator(); |
var otherTypeArguments = other.typeArguments.iterator(); |
- while (thisTypeArguments.hasNext() && otherTypeArguments.hasNext()) { |
+ while (thisTypeArguments.hasNext && otherTypeArguments.hasNext) { |
if (thisTypeArguments.next() != otherTypeArguments.next()) { |
return false; |
} |
} |
- return !thisTypeArguments.hasNext() && !otherTypeArguments.hasNext(); |
+ return !thisTypeArguments.hasNext && !otherTypeArguments.hasNext; |
} |
} |