Index: sdk/lib/_internal/compiler/js_lib/js_helper.dart |
diff --git a/sdk/lib/_internal/compiler/js_lib/js_helper.dart b/sdk/lib/_internal/compiler/js_lib/js_helper.dart |
index 5d23f3a8c8f1dad2b254e2f527aca5c932d72123..4270ab576d2e43084f28ac99258d89c433f6be9a 100644 |
--- a/sdk/lib/_internal/compiler/js_lib/js_helper.dart |
+++ b/sdk/lib/_internal/compiler/js_lib/js_helper.dart |
@@ -210,7 +210,7 @@ String S(value) { |
return 'null'; |
} |
var res = value.toString(); |
- if (res is !String) throw _argumentError(value); |
+ if (res is !String) throw argumentErrorValue(value); |
return res; |
} |