Chromium Code Reviews| Index: pkg/kernel/lib/ast.dart |
| diff --git a/pkg/kernel/lib/ast.dart b/pkg/kernel/lib/ast.dart |
| index be31d44683f422878de898e67f0bb133699aba84..7afda0c84ed66e7fdd65b766b0a9c59dc66eac6c 100644 |
| --- a/pkg/kernel/lib/ast.dart |
| +++ b/pkg/kernel/lib/ast.dart |
| @@ -3432,6 +3432,12 @@ class ForStatement extends Statement { |
| } |
| class ForInStatement extends Statement { |
| + /// Offset in the source file it comes from. |
| + /// |
| + /// Valid values are from 0 and up, or -1 ([TreeNode.noOffset]) if the file |
| + /// offset is not available (this is the default if none is specifically set). |
| + int bodyOffset = TreeNode.noOffset; |
|
ahe
2017/08/08 11:38:50
Why is the bodyOffset different from body.fileOffs
jensj
2017/08/08 11:54:53
As I recall I had to add that because we don't hav
ahe
2017/08/08 11:58:03
Can't we make sure that we have positions on all t
|
| + |
| VariableDeclaration variable; // Has no initializer. |
| Expression iterable; |
| Statement body; |