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 aa9641b672f5901a4a675b1089cd4fb6f5e31dbc..4b54a6b3a6e18d57948015da6bc0869018489f25 100644 |
--- a/pkg/kernel/lib/binary/ast_from_binary.dart |
+++ b/pkg/kernel/lib/binary/ast_from_binary.dart |
@@ -687,11 +687,14 @@ class BinaryBuilder { |
return new SuperPropertySet.byReference( |
readName(), readExpression(), readMemberReference(allowNull: true)); |
case Tag.DirectPropertyGet: |
+ int offset = readOffset(); |
return new DirectPropertyGet.byReference( |
- readExpression(), readMemberReference()); |
+ readExpression(), readMemberReference())..fileOffset = offset; |
case Tag.DirectPropertySet: |
+ int offset = readOffset(); |
return new DirectPropertySet.byReference( |
- readExpression(), readMemberReference(), readExpression()); |
+ readExpression(), readMemberReference(), readExpression()) |
+ ..fileOffset = offset; |
case Tag.StaticGet: |
int offset = readOffset(); |
return new StaticGet.byReference(readMemberReference()) |