| Index: lib/src/codegen/js_codegen.dart
|
| diff --git a/lib/src/codegen/js_codegen.dart b/lib/src/codegen/js_codegen.dart
|
| index 1749ca742cde6543c3bce6a52615e60543ad2c73..28ba34dc6c3c6d2a8434e5793ad82e28ad425834 100644
|
| --- a/lib/src/codegen/js_codegen.dart
|
| +++ b/lib/src/codegen/js_codegen.dart
|
| @@ -1879,10 +1879,6 @@ class JSCodegenVisitor extends GeneralizingAstVisitor {
|
| var leftType = getStaticType(left);
|
| var rightType = getStaticType(right);
|
|
|
| - // TODO(jmesserly): this may not work correctly with options.ignoreTypes,
|
| - // because that results in unreliable type annotations. See issue #134,
|
| - // probably the checker/resolver is the right place to implement that, by
|
| - // replacing staticTypes with `dynamic` as needed, so codegen "just works".
|
| var code;
|
| if (op.type.isEqualityOperator) {
|
| // If we statically know LHS or RHS is null we can generate a clean check.
|
|
|