summaryrefslogtreecommitdiff
path: root/vala/valaconstant.vala
diff options
context:
space:
mode:
authorLuca Bruno <lucabru@src.gnome.org>2013-10-07 20:50:47 +0200
committerLuca Bruno <lucabru@src.gnome.org>2013-10-07 20:51:03 +0200
commit5764bac40da1cd4124ff9e16484c5971ffc07d57 (patch)
treefac88606eabbf9f94611c6854b539432b85e0b60 /vala/valaconstant.vala
parenta09c9e93af0d64b9331c274de573465fe070b722 (diff)
downloadvala-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/valaconstant.vala')
-rw-r--r--vala/valaconstant.vala2
1 files changed, 1 insertions, 1 deletions
diff --git a/vala/valaconstant.vala b/vala/valaconstant.vala
index 0c789bd20..53b84c60e 100644
--- a/vala/valaconstant.vala
+++ b/vala/valaconstant.vala
@@ -32,7 +32,7 @@ public class Vala.Constant : Symbol, Lockable {
public DataType type_reference {
get { return _data_type; }
set {
- _data_type = value.copy ();
+ _data_type = value;
_data_type.parent_node = this;
}
}