diff options
author | Rico Tzschichholz <ricotz@ubuntu.com> | 2021-09-28 15:09:25 +0200 |
---|---|---|
committer | Rico Tzschichholz <ricotz@ubuntu.com> | 2021-09-29 18:29:27 +0200 |
commit | 40a92385fc0a7862dce4757dd692f241728b0aba (patch) | |
tree | eda868b887f981d6e7c0dbea51d7159724073984 /vala/valamethodtype.vala | |
parent | dbe8d2a614e1637c5a00115d6a1048430ef2493c (diff) | |
download | vala-40a92385fc0a7862dce4757dd692f241728b0aba.tar.gz |
vala: Add optional SourceReference parameter to DataType classes
Diffstat (limited to 'vala/valamethodtype.vala')
-rw-r--r-- | vala/valamethodtype.vala | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/vala/valamethodtype.vala b/vala/valamethodtype.vala index 2fc531870..76641b041 100644 --- a/vala/valamethodtype.vala +++ b/vala/valamethodtype.vala @@ -32,12 +32,12 @@ public class Vala.MethodType : CallableType { } } - public MethodType (Method method_symbol) { - base (method_symbol); + public MethodType (Method method_symbol, SourceReference? source_reference = null) { + base (method_symbol, source_reference); } public override DataType copy () { - return new MethodType (method_symbol); + return new MethodType (method_symbol, source_reference); } public override bool compatible (DataType target_type) { |