Index: pkg/kernel/lib/binary/ast_to_binary.dart |
diff --git a/pkg/kernel/lib/binary/ast_to_binary.dart b/pkg/kernel/lib/binary/ast_to_binary.dart |
index 0a738e9558ded789229bae6265f48dc24af1390a..79829523a17251af7eb575936ae8c177cb92090d 100644 |
--- a/pkg/kernel/lib/binary/ast_to_binary.dart |
+++ b/pkg/kernel/lib/binary/ast_to_binary.dart |
@@ -969,6 +969,7 @@ class BinaryPrinter extends Visitor { |
visitSwitchStatement(SwitchStatement node) { |
_switchCaseIndexer.enter(node); |
writeByte(Tag.SwitchStatement); |
+ writeOffset(node.fileOffset); |
writeNode(node.expression); |
writeNodeList(node.cases); |
_switchCaseIndexer.exit(node); |