| Index: lib/compiler/implementation/js_backend/backend.dart
|
| diff --git a/lib/compiler/implementation/js_backend/backend.dart b/lib/compiler/implementation/js_backend/backend.dart
|
| index d45604ecf16b333015c477b50e1328fe1439b847..473b468064bce17055f141af07facb2acea422a0 100644
|
| --- a/lib/compiler/implementation/js_backend/backend.dart
|
| +++ b/lib/compiler/implementation/js_backend/backend.dart
|
| @@ -205,7 +205,7 @@ class JavaScriptBackend extends Backend {
|
| // of the field is determined by the assignments in the constructor
|
| // body.
|
| var constructors = classElement.constructors;
|
| - if (constructors.head !== null && constructors.tail === null) {
|
| + if (constructors.head !== null && constructors.tail.isEmpty()) {
|
| return fieldConstructorSetters[classElement][field];
|
| } else {
|
| return HType.UNKNOWN;
|
|
|