| Index: sdk/lib/_internal/compiler/implementation/js_backend/backend.dart
|
| diff --git a/sdk/lib/_internal/compiler/implementation/js_backend/backend.dart b/sdk/lib/_internal/compiler/implementation/js_backend/backend.dart
|
| index b2cd1d9abf6fd552e386964c28d20149a760aa0d..154b29661b25e1122a778fe4cfdd4a15820620be 100644
|
| --- a/sdk/lib/_internal/compiler/implementation/js_backend/backend.dart
|
| +++ b/sdk/lib/_internal/compiler/implementation/js_backend/backend.dart
|
| @@ -990,7 +990,7 @@ class JavaScriptBackend extends Backend {
|
| }
|
| }
|
| bool isTypeVariable = type.kind == TypeKind.TYPE_VARIABLE;
|
| - if (!type.isRaw || type.containsTypeVariables) {
|
| + if (!type.treatAsRaw || type.containsTypeVariables) {
|
| enqueueInResolution(getSetRuntimeTypeInfo(), elements);
|
| enqueueInResolution(getGetRuntimeTypeInfo(), elements);
|
| enqueueInResolution(getGetRuntimeTypeArgument(), elements);
|
| @@ -1372,7 +1372,7 @@ class JavaScriptBackend extends Backend {
|
| : 'stringSuperTypeCheck';
|
| }
|
| } else if ((element == compiler.listClass || element == jsArrayClass) &&
|
| - type.isRaw) {
|
| + type.treatAsRaw) {
|
| if (nativeCheckOnly) return null;
|
| return typeCast
|
| ? 'listTypeCast'
|
| @@ -1396,7 +1396,7 @@ class JavaScriptBackend extends Backend {
|
| ? 'interceptedTypeCast'
|
| : 'interceptedTypeCheck';
|
| } else {
|
| - if (type.kind == TypeKind.INTERFACE && !type.isRaw) {
|
| + if (type.kind == TypeKind.INTERFACE && !type.treatAsRaw) {
|
| return typeCast
|
| ? 'subtypeCast'
|
| : 'assertSubtype';
|
|
|