| Index: sdk/lib/_internal/compiler/implementation/js_backend/native_emitter.dart
|
| diff --git a/sdk/lib/_internal/compiler/implementation/js_backend/native_emitter.dart b/sdk/lib/_internal/compiler/implementation/js_backend/native_emitter.dart
|
| index 8e389bf4f79c788000c9306ceaa7f74fb8970fc8..039e2d454f51a685c6bc4d17cc90f3b2c18dab0c 100644
|
| --- a/sdk/lib/_internal/compiler/implementation/js_backend/native_emitter.dart
|
| +++ b/sdk/lib/_internal/compiler/implementation/js_backend/native_emitter.dart
|
| @@ -476,9 +476,13 @@ function(cls, desc) {
|
| Elements.sortedByPosition(emitter.checkedClasses)) {
|
| if (!requiresNativeIsCheck(element)) continue;
|
| if (element.isObject(compiler)) continue;
|
| + // Add function for the is-test.
|
| String name = backend.namer.operatorIs(element);
|
| addProperty(name,
|
| js.fun([], js.return_(js['false'])));
|
| + // Add a function for the (trivial) substitution.
|
| + addProperty(backend.namer.substitutionName(element),
|
| + js.fun([], js.return_(js['null'])));
|
| }
|
| }
|
| emitIsChecks();
|
|
|