| Index: sdk/lib/_internal/compiler/implementation/js_backend/emitter.dart
|
| diff --git a/sdk/lib/_internal/compiler/implementation/js_backend/emitter.dart b/sdk/lib/_internal/compiler/implementation/js_backend/emitter.dart
|
| index b4083541a34e68bbb4e48124ed2307af41616398..2ee81e757550e22aa9c02299191398d35d57a1a1 100644
|
| --- a/sdk/lib/_internal/compiler/implementation/js_backend/emitter.dart
|
| +++ b/sdk/lib/_internal/compiler/implementation/js_backend/emitter.dart
|
| @@ -221,12 +221,10 @@ class CodeEmitterTask extends CompilerTask {
|
| checkedClasses = new Set<ClassElement>();
|
| checkedFunctionTypes = new Set<FunctionType>();
|
| compiler.codegenWorld.isChecks.forEach((DartType t) {
|
| - if (!t.isMalformed) {
|
| - if (t is InterfaceType) {
|
| - checkedClasses.add(t.element);
|
| - } else if (t is FunctionType) {
|
| - checkedFunctionTypes.add(t);
|
| - }
|
| + if (t is InterfaceType) {
|
| + checkedClasses.add(t.element);
|
| + } else if (t is FunctionType) {
|
| + checkedFunctionTypes.add(t);
|
| }
|
| });
|
| }
|
| @@ -1649,7 +1647,7 @@ class CodeEmitterTask extends CompilerTask {
|
| DartType type = field.computeType(compiler).unalias(compiler);
|
| if (type.element.isTypeVariable() ||
|
| (type is FunctionType && type.containsTypeVariables) ||
|
| - type.element == compiler.dynamicClass ||
|
| + type.treatAsDynamic ||
|
| type.element == compiler.objectClass) {
|
| // TODO(ngeoffray): Support type checks on type parameters.
|
| return false;
|
| @@ -1794,7 +1792,7 @@ class CodeEmitterTask extends CompilerTask {
|
| // Only the native classes can have renaming accessors.
|
| assert(classIsNative);
|
| }
|
| -
|
| +
|
| int getterCode = 0;
|
| if (needsGetter) {
|
| if (field.isInstanceMember()) {
|
|
|