Commit 5f56fe33 authored by Jürg Billeter's avatar Jürg Billeter

Fix regression introduced by codegen refactoring

parent 03df3290
...@@ -454,7 +454,13 @@ public class Vala.Assignment : Expression { ...@@ -454,7 +454,13 @@ public class Vala.Assignment : Expression {
bool instance = (field != null && field.binding == MemberBinding.INSTANCE) bool instance = (field != null && field.binding == MemberBinding.INSTANCE)
|| (property != null && property.binding == MemberBinding.INSTANCE); || (property != null && property.binding == MemberBinding.INSTANCE);
if (instance) { if (field != null) {
// always process full lvalue
// current codegen depends on it
// should be removed when moving codegen from
// visit_assignment to emit_store_field
ma.emit (codegen);
} else if (instance) {
ma.inner.emit (codegen); ma.inner.emit (codegen);
} }
} else if (ea != null) { } else if (ea != null) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment