summaryrefslogtreecommitdiff
path: root/codegen/valagvaluemodule.vala
diff options
context:
space:
mode:
authorRico Tzschichholz <ricotz@ubuntu.com>2020-11-14 16:13:01 +0100
committerRico Tzschichholz <ricotz@ubuntu.com>2020-11-14 16:14:34 +0100
commit50b373b68474732225a89f3476bb46dd9c0012c0 (patch)
tree2794e2157a7d000ddcab7cf62d7264d2810c6c1f /codegen/valagvaluemodule.vala
parent9319f309dd97532a3174de995a83884739d70460 (diff)
downloadvala-50b373b68474732225a89f3476bb46dd9c0012c0.tar.gz
Revert errornous git push
This reverts commit 9319f309dd97532a3174de995a83884739d70460. This reverts commit 9ccdd25eaf0c57ac0cb18380b81d76a9d7113f7f. This reverts commit 6689c356dade08a0d04a4d6f3add15a71125e925. This reverts commit 4f560d0bb2753bed14b2f0688f2d3e686a39d6ca.
Diffstat (limited to 'codegen/valagvaluemodule.vala')
-rw-r--r--codegen/valagvaluemodule.vala2
1 files changed, 1 insertions, 1 deletions
diff --git a/codegen/valagvaluemodule.vala b/codegen/valagvaluemodule.vala
index 2b13d473d..0429085e6 100644
--- a/codegen/valagvaluemodule.vala
+++ b/codegen/valagvaluemodule.vala
@@ -23,7 +23,7 @@
public class Vala.GValueModule : GAsyncModule {
public override void visit_cast_expression (CastExpression expr) {
unowned DataType? value_type = expr.inner.value_type;
- unowned DataType? target_type = expr.target_type;
+ unowned DataType? target_type = expr.type_reference;
if (expr.is_non_null_cast || value_type == null || gvalue_type == null
|| value_type.type_symbol != gvalue_type || target_type.type_symbol == gvalue_type