| 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 0f50edd027f808b8c564adf389abcdf6d9e0dd51..ad0e1ff37565b51b04264b0174d0bdae59aaa1d8 100644
|
| --- a/sdk/lib/_internal/compiler/implementation/js_backend/native_emitter.dart
|
| +++ b/sdk/lib/_internal/compiler/implementation/js_backend/native_emitter.dart
|
| @@ -443,7 +443,7 @@ class NativeEmitter {
|
|
|
| bool isSupertypeOfNativeClass(Element element) {
|
| if (element.isTypeVariable()) {
|
| - compiler.cancel("Is check for type variable", element: element);
|
| + compiler.internalError(element, "Is check for type variable.");
|
| return false;
|
| }
|
| if (element.computeType(compiler).unalias(compiler) is FunctionType) {
|
| @@ -453,7 +453,7 @@ class NativeEmitter {
|
| }
|
|
|
| if (!element.isClass()) {
|
| - compiler.cancel("Is check does not handle element", element: element);
|
| + compiler.internalError(element, "Is check does not handle element.");
|
| return false;
|
| }
|
|
|
|
|