diff options
author | Rico Tzschichholz <ricotz@ubuntu.com> | 2017-12-06 17:14:34 +0100 |
---|---|---|
committer | Rico Tzschichholz <ricotz@ubuntu.com> | 2017-12-06 17:39:50 +0100 |
commit | 3fe3f8b7e7e5a1c6e3adf5ad0fa6ace2719b6339 (patch) | |
tree | b9f71d2a9f85935187b07fc4b5dc0a08785ab330 /vala/valapointertype.vala | |
parent | 84c858484059742d577abf9a78f2d6e99ced9477 (diff) | |
download | vala-3fe3f8b7e7e5a1c6e3adf5ad0fa6ace2719b6339.tar.gz |
Use type-check to determine a GenericType
Diffstat (limited to 'vala/valapointertype.vala')
-rw-r--r-- | vala/valapointertype.vala | 2 |
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; } |