| Index: pkg/compiler/lib/src/tree_ir/tree_ir_nodes.dart
|
| diff --git a/pkg/compiler/lib/src/tree_ir/tree_ir_nodes.dart b/pkg/compiler/lib/src/tree_ir/tree_ir_nodes.dart
|
| index cd688d51ca51e9b5a202130e1f84f9b2f135dc94..bd4baabdded66a78f6c58b845781d5f5b292032c 100644
|
| --- a/pkg/compiler/lib/src/tree_ir/tree_ir_nodes.dart
|
| +++ b/pkg/compiler/lib/src/tree_ir/tree_ir_nodes.dart
|
| @@ -119,10 +119,8 @@ class Variable extends Node {
|
| /// - catch parameter in a [Try]
|
| int writeCount = 0;
|
|
|
| - /// True if a nested function reads or writes this variable.
|
| - ///
|
| - /// Always false in JS-mode because closure conversion eliminated nested
|
| - /// functions.
|
| + /// True if an inner JS function might access this variable through a
|
| + /// [ForeignCode] node.
|
| bool isCaptured = false;
|
|
|
| Variable(this.host, this.element) {
|
|
|