Index: lib/compiler/implementation/js_backend/namer.dart |
diff --git a/lib/compiler/implementation/js_backend/namer.dart b/lib/compiler/implementation/js_backend/namer.dart |
index 44470d1b4cf774946b40e24658b4e1bb7b5cc260..69e35ea19237e672d79e8e072c83f38fab797b91 100644 |
--- a/lib/compiler/implementation/js_backend/namer.dart |
+++ b/lib/compiler/implementation/js_backend/namer.dart |
@@ -120,7 +120,7 @@ class Namer { |
'${privateName(lib, name)}\$${signature.parameterCount}'; |
if (!signature.optionalParametersAreNamed) { |
return methodName; |
- } else if (!signature.optionalParameters.isEmpty()) { |
+ } else if (!signature.optionalParameters.isEmpty) { |
StringBuffer buffer = new StringBuffer(); |
signature.orderedOptionalParameters.forEach((Element element) { |
buffer.add('\$${JsNames.getValid(element.name.slowToString())}'); |