Index: pkg/compiler/lib/src/js_backend/minify_namer.dart |
diff --git a/pkg/compiler/lib/src/js_backend/minify_namer.dart b/pkg/compiler/lib/src/js_backend/minify_namer.dart |
index dd01a92fb34f531e188637576f64ecabe856a1ab..3e9ae73ba3252a544b17c774eeb92f4afd170eb5 100644 |
--- a/pkg/compiler/lib/src/js_backend/minify_namer.dart |
+++ b/pkg/compiler/lib/src/js_backend/minify_namer.dart |
@@ -342,9 +342,10 @@ abstract class _MinifiedOneShotInterceptorNamer implements Namer { |
String prefix = selector.isGetter |
? r"$get" |
: selector.isSetter ? r"$set" : ""; |
- String arity = selector.isCall ? "${selector.argumentCount}" : ""; |
+ String callSuffix = |
+ selector.isCall ? callSuffixForStructure(selector.callStructure) : ""; |
String suffix = suffixForGetInterceptor(classes); |
- String fullName = "\$intercepted$prefix\$$root$arity\$$suffix"; |
+ String fullName = "\$intercepted$prefix\$$root$callSuffix\$$suffix"; |
return _disambiguateInternalGlobal(fullName); |
} |
} |