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 7e092281d4b917ab18daa1cec58fbb237f6c8dc4..bf53b151980128746b77a12be9a011dc57ae9908 100644 |
--- a/pkg/kernel/lib/binary/ast_to_binary.dart |
+++ b/pkg/kernel/lib/binary/ast_to_binary.dart |
@@ -378,6 +378,7 @@ class BinaryPrinter extends Visitor { |
writeByte(Tag.Class); |
writeCanonicalNameReference(getCanonicalNameOfClass(node)); |
writeOffset(node.fileOffset); |
+ writeOffset(node.fileEndOffset); |
writeByte(flags); |
writeStringReference(node.name ?? ''); |
writeUriReference(node.fileUri ?? ''); |