| Index: sdk/lib/_internal/lib/js_rti.dart
|
| diff --git a/sdk/lib/_internal/lib/js_rti.dart b/sdk/lib/_internal/lib/js_rti.dart
|
| index d7c28e0f0a32ed9847a5affe1b0e7bc083523ce0..aea2fc30d2ab498754937cc20582f9bba5d7ad6f 100644
|
| --- a/sdk/lib/_internal/lib/js_rti.dart
|
| +++ b/sdk/lib/_internal/lib/js_rti.dart
|
| @@ -158,6 +158,8 @@ String runtimeTypeToString(var type) {
|
| } else if (isJsFunction(type)) {
|
| // A reference to the constructor.
|
| return getConstructorName(type);
|
| + } else if (type is int) {
|
| + return type.toString();
|
| } else {
|
| return null;
|
| }
|
|
|