| Index: pkg/kernel/lib/binary/ast_from_binary.dart
|
| diff --git a/pkg/kernel/lib/binary/ast_from_binary.dart b/pkg/kernel/lib/binary/ast_from_binary.dart
|
| index c4ab123429073d0e8a0a6b3f5f6e81d018ed7d26..449292e00d21bf288190acd0366adf3458ca3f97 100644
|
| --- a/pkg/kernel/lib/binary/ast_from_binary.dart
|
| +++ b/pkg/kernel/lib/binary/ast_from_binary.dart
|
| @@ -1046,6 +1046,7 @@ class BinaryBuilder {
|
| ..fileOffset = offset
|
| ..bodyOffset = bodyOffset;
|
| case Tag.SwitchStatement:
|
| + var offset = readOffset();
|
| var expression = readExpression();
|
| int count = readUInt();
|
| List<SwitchCase> cases =
|
| @@ -1064,7 +1065,7 @@ class BinaryBuilder {
|
| caseNode.body = readStatement()..parent = caseNode;
|
| }
|
| switchCaseStack.length -= count;
|
| - return new SwitchStatement(expression, cases);
|
| + return new SwitchStatement(expression, cases)..fileOffset = offset;
|
| case Tag.ContinueSwitchStatement:
|
| int index = readUInt();
|
| return new ContinueSwitchStatement(switchCaseStack[index]);
|
|
|