Index: lib/src/js/nodes.dart |
diff --git a/lib/src/js/nodes.dart b/lib/src/js/nodes.dart |
index 4b3f1942f8c0fd6599bd8def0ef523596a95f061..0ba181426578b19f97656189834b4847ce9d161d 100644 |
--- a/lib/src/js/nodes.dart |
+++ b/lib/src/js/nodes.dart |
@@ -1138,8 +1138,6 @@ class ArrowFun extends FunctionExpression { |
final List<Parameter> params; |
final body; // Expression or Block |
- bool _closesOverThis; // lazy initialized |
- |
ArrowFun(this.params, this.body); |
accept(NodeVisitor visitor) => visitor.visitArrowFun(this); |
@@ -1148,12 +1146,6 @@ class ArrowFun extends FunctionExpression { |
for (Parameter param in params) param.accept(visitor); |
body.accept(visitor); |
} |
- /// True if this function actually closes of `this`. We use this in some |
- /// situations to generate different code. |
- bool get closesOverThis { |
- if (_closesOverThis == null) _closesOverThis = This.foundIn(this); |
- return _closesOverThis; |
- } |
int get precedenceLevel => PRIMARY_LOW_PRECEDENCE; |