Index: pkg/front_end/lib/src/fasta/kernel/builder_accessors.dart |
diff --git a/pkg/front_end/lib/src/fasta/kernel/builder_accessors.dart b/pkg/front_end/lib/src/fasta/kernel/builder_accessors.dart |
index 5aa6c1f1f224dfa66662f5202eeb9aa952689a30..61a7bfca7927518037fec5f75e375e99f9e7f06d 100644 |
--- a/pkg/front_end/lib/src/fasta/kernel/builder_accessors.dart |
+++ b/pkg/front_end/lib/src/fasta/kernel/builder_accessors.dart |
@@ -216,10 +216,10 @@ class ThisAccessor extends BuilderAccessor { |
Member getter = helper.lookupSuperMember(send.name); |
Member setter = helper.lookupSuperMember(send.name, isSetter: true); |
return new SuperPropertyAccessor( |
- helper, charOffset, send.name, getter, setter); |
+ helper, send.charOffset, send.name, getter, setter); |
} else { |
return new ThisPropertyAccessor( |
- helper, charOffset, send.name, null, null); |
+ helper, send.charOffset, send.name, null, null); |
} |
} |
} |
@@ -595,11 +595,9 @@ class SuperPropertyAccessor extends kernel.SuperPropertyAccessor |
with BuilderAccessor { |
final BuilderHelper helper; |
- final int charOffset; |
- |
SuperPropertyAccessor( |
- this.helper, this.charOffset, Name name, Member getter, Member setter) |
- : super(name, getter, setter); |
+ this.helper, int charOffset, Name name, Member getter, Member setter) |
+ : super(name, getter, setter, charOffset); |
String get plainNameForRead => name.name; |