diff options
author | Rico Tzschichholz <ricotz@ubuntu.com> | 2020-11-13 22:51:53 +0100 |
---|---|---|
committer | Rico Tzschichholz <ricotz@ubuntu.com> | 2020-11-14 15:57:22 +0100 |
commit | 9ccdd25eaf0c57ac0cb18380b81d76a9d7113f7f (patch) | |
tree | b3f716f50fdf7cd2d5e877a5e8f8cdaf6aea5ef6 /vala/valapointerindirection.vala | |
parent | 6689c356dade08a0d04a4d6f3add15a71125e925 (diff) | |
download | vala-9ccdd25eaf0c57ac0cb18380b81d76a9d7113f7f.tar.gz |
vala: More copying of dedicated data-type instances for code-nodes
Diffstat (limited to 'vala/valapointerindirection.vala')
-rw-r--r-- | vala/valapointerindirection.vala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vala/valapointerindirection.vala b/vala/valapointerindirection.vala index bcf32b548..0397eb37c 100644 --- a/vala/valapointerindirection.vala +++ b/vala/valapointerindirection.vala @@ -101,7 +101,7 @@ public class Vala.PointerIndirection : Expression { Report.error (source_reference, "Pointer indirection not supported for this expression"); return false; } - value_type = pointer_type.base_type; + value_type = pointer_type.base_type.copy (); } else { error = true; Report.error (source_reference, "Pointer indirection not supported for this expression"); |