Index: sdk/lib/_internal/lib/js_helper.dart |
diff --git a/sdk/lib/_internal/lib/js_helper.dart b/sdk/lib/_internal/lib/js_helper.dart |
index e0540978ba967f409037774ea3eeeaa26c80fd10..8acb7a3ca5182fed6da4f16269452f0be027ffd9 100644 |
--- a/sdk/lib/_internal/lib/js_helper.dart |
+++ b/sdk/lib/_internal/lib/js_helper.dart |
@@ -1511,7 +1511,7 @@ class TypeErrorDecoder { |
// "(.*)\\.(.*) is not a function" |
var function = JS('', r"""function($expr$) { |
- var $argumentsExpr$ = '$arguments$' |
+ var $argumentsExpr$ = '$arguments$'; |
try { |
$expr$.$method$($argumentsExpr$); |
} catch (e) { |
@@ -1526,7 +1526,7 @@ class TypeErrorDecoder { |
static String provokeCallErrorOnNull() { |
// See [provokeCallErrorOn] for a detailed explanation. |
var function = JS('', r"""function() { |
- var $argumentsExpr$ = '$arguments$' |
+ var $argumentsExpr$ = '$arguments$'; |
try { |
null.$method$($argumentsExpr$); |
} catch (e) { |
@@ -1541,7 +1541,7 @@ class TypeErrorDecoder { |
static String provokeCallErrorOnUndefined() { |
// See [provokeCallErrorOn] for a detailed explanation. |
var function = JS('', r"""function() { |
- var $argumentsExpr$ = '$arguments$' |
+ var $argumentsExpr$ = '$arguments$'; |
try { |
(void 0).$method$($argumentsExpr$); |
} catch (e) { |