summaryrefslogtreecommitdiff
path: root/vala/valapointertype.vala
diff options
context:
space:
mode:
authorJuerg Billeter <j@bitron.ch>2008-05-25 18:51:13 +0000
committerJürg Billeter <juergbi@src.gnome.org>2008-05-25 18:51:13 +0000
commit07a410c34f79e62cf60a9452011c322b1fbcb9c9 (patch)
tree3836fdfd749533ad5985d4d3e36cabd73b7813d5 /vala/valapointertype.vala
parentf89ac9cebe6b1d3df537a44058af9c1bd3542214 (diff)
downloadvala-07a410c34f79e62cf60a9452011c322b1fbcb9c9.tar.gz
Fix type resolving for arrays and pointers when declaring multiple
2008-05-25 Juerg Billeter <j@bitron.ch> * vala/valaarraytype.vala: * vala/valapointertype.vala: * vala/valasemanticanalyzer.vala: Fix type resolving for arrays and pointers when declaring multiple variables in a single statement svn path=/trunk/; revision=1437
Diffstat (limited to 'vala/valapointertype.vala')
-rw-r--r--vala/valapointertype.vala2
1 files changed, 1 insertions, 1 deletions
diff --git a/vala/valapointertype.vala b/vala/valapointertype.vala
index b00fcf690..3c6b79244 100644
--- a/vala/valapointertype.vala
+++ b/vala/valapointertype.vala
@@ -59,7 +59,7 @@ public class Vala.PointerType : DataType {
}
public override DataType copy () {
- return new PointerType (base_type);
+ return new PointerType (base_type.copy ());
}
public override bool compatible (DataType target_type) {