summaryrefslogtreecommitdiff
path: root/vala/valapointertype.vala
diff options
context:
space:
mode:
authorRico Tzschichholz <ricotz@ubuntu.com>2017-12-06 17:14:34 +0100
committerRico Tzschichholz <ricotz@ubuntu.com>2017-12-06 17:39:50 +0100
commit3fe3f8b7e7e5a1c6e3adf5ad0fa6ace2719b6339 (patch)
treeb9f71d2a9f85935187b07fc4b5dc0a08785ab330 /vala/valapointertype.vala
parent84c858484059742d577abf9a78f2d6e99ced9477 (diff)
downloadvala-3fe3f8b7e7e5a1c6e3adf5ad0fa6ace2719b6339.tar.gz
Use type-check to determine a GenericType
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 e3437f62e..9cfe6ea42 100644
--- a/vala/valapointertype.vala
+++ b/vala/valapointertype.vala
@@ -74,7 +74,7 @@ public class Vala.PointerType : DataType {
}
/* temporarily ignore type parameters */
- if (target_type.type_parameter != null) {
+ if (target_type is GenericType) {
return true;
}