| Index: lib/runtime/dart/_isolate_helper.js
|
| diff --git a/lib/runtime/dart/_isolate_helper.js b/lib/runtime/dart/_isolate_helper.js
|
| index e677b60bc6db91c5790f20cea3336f92f8a61ed4..9755e0f478c98c7d1ae35aba92cead6c38741f21 100644
|
| --- a/lib/runtime/dart/_isolate_helper.js
|
| +++ b/lib/runtime/dart/_isolate_helper.js
|
| @@ -81,7 +81,7 @@ dart_library.library('dart/_isolate_helper', null, /* Imports */[
|
| return ["ref", serializationId];
|
| }
|
| isPrimitive(x) {
|
| - return x == null || typeof x == 'string' || dart.is(x, core.num) || typeof x == 'boolean';
|
| + return x == null || typeof x == 'string' || typeof x == 'number' || typeof x == 'boolean';
|
| }
|
| serializePrimitive(primitive) {
|
| return primitive;
|
| @@ -261,7 +261,7 @@ dart_library.library('dart/_isolate_helper', null, /* Imports */[
|
| }
|
| }
|
| isPrimitive(x) {
|
| - return x == null || typeof x == 'string' || dart.is(x, core.num) || typeof x == 'boolean';
|
| + return x == null || typeof x == 'string' || typeof x == 'number' || typeof x == 'boolean';
|
| }
|
| deserializePrimitive(x) {
|
| return x;
|
|
|