diff options
author | Luca Bruno <lucabru@src.gnome.org> | 2013-10-07 20:50:47 +0200 |
---|---|---|
committer | Luca Bruno <lucabru@src.gnome.org> | 2013-10-07 20:51:03 +0200 |
commit | 5764bac40da1cd4124ff9e16484c5971ffc07d57 (patch) | |
tree | fac88606eabbf9f94611c6854b539432b85e0b60 /vala/valapropertyaccessor.vala | |
parent | a09c9e93af0d64b9331c274de573465fe070b722 (diff) | |
download | vala-5764bac40da1cd4124ff9e16484c5971ffc07d57.tar.gz |
Revert "Set parent_node and always copy datatype when assigned to code nodes."
This reverts commit a09c9e93af0d64b9331c274de573465fe070b722.
Fixes bug 709587.
Diffstat (limited to 'vala/valapropertyaccessor.vala')
-rw-r--r-- | vala/valapropertyaccessor.vala | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/vala/valapropertyaccessor.vala b/vala/valapropertyaccessor.vala index 3903ae835..466fe6c18 100644 --- a/vala/valapropertyaccessor.vala +++ b/vala/valapropertyaccessor.vala @@ -39,9 +39,8 @@ public class Vala.PropertyAccessor : Subroutine { public DataType? value_type { get { return _value_type; } set { - _value_type = null; + _value_type = value; if (value != null) { - _value_type = value.copy (); _value_type.parent_node = this; } } |