summaryrefslogtreecommitdiff
path: root/vala/valamethod.vala
diff options
context:
space:
mode:
authorPrinceton Ferro <princetonferro@gmail.com>2021-07-15 02:31:32 -0400
committerRico Tzschichholz <ricotz@ubuntu.com>2021-07-23 12:57:19 +0200
commit2848b530e80c2404de8af29ab2805ffc6b381fbe (patch)
treef3b7f8e0c83921095c454be60b736d419b68b98c /vala/valamethod.vala
parent9c4f920ccd280458a3df9d9f19455fd583e72d5e (diff)
downloadvala-2848b530e80c2404de8af29ab2805ffc6b381fbe.tar.gz
vala: this_parameter property for subroutines is nullable
Diffstat (limited to 'vala/valamethod.vala')
-rw-r--r--vala/valamethod.vala2
1 files changed, 1 insertions, 1 deletions
diff --git a/vala/valamethod.vala b/vala/valamethod.vala
index daef9789f..9ad3c2059 100644
--- a/vala/valamethod.vala
+++ b/vala/valamethod.vala
@@ -136,7 +136,7 @@ public class Vala.Method : Subroutine, Callable {
/**
* Specifies the generated `this` parameter for instance methods.
*/
- public Parameter this_parameter { get; set; }
+ public Parameter? this_parameter { get; set; }
/**
* Specifies whether this method expects printf-style format arguments.