Index: tool/input_sdk/private/ddc_runtime/errors.dart |
diff --git a/tool/input_sdk/private/ddc_runtime/errors.dart b/tool/input_sdk/private/ddc_runtime/errors.dart |
index 2225ccafdc27a391fbe39571df550977c45d5fc3..12436155ad87c3b1d496dcea2e2796455e44e3fc 100644 |
--- a/tool/input_sdk/private/ddc_runtime/errors.dart |
+++ b/tool/input_sdk/private/ddc_runtime/errors.dart |
@@ -4,7 +4,8 @@ |
part of dart._runtime; |
throwCastError(actual, type) => JS('', '''(() => { |
- $throw_(new $CastErrorImplementation($actual, $type)); |
+ $throw_(new $CastErrorImplementation($typeName($actual), |
+ $typeName($type))); |
})()'''); |
throwAssertionError() => JS('', '''(() => { |