summaryrefslogtreecommitdiff
path: root/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
parent9c4f920ccd280458a3df9d9f19455fd583e72d5e (diff)
downloadvala-2848b530e80c2404de8af29ab2805ffc6b381fbe.tar.gz
vala: this_parameter property for subroutines is nullable
Diffstat (limited to 'vala')
-rw-r--r--vala/valaconstructor.vala2
-rw-r--r--vala/valadestructor.vala2
-rw-r--r--vala/valamethod.vala2
-rw-r--r--vala/valaproperty.vala2
4 files changed, 4 insertions, 4 deletions
diff --git a/vala/valaconstructor.vala b/vala/valaconstructor.vala
index 2c923246c..8c916f8a5 100644
--- a/vala/valaconstructor.vala
+++ b/vala/valaconstructor.vala
@@ -29,7 +29,7 @@ public class Vala.Constructor : Subroutine {
/**
* Specifies the generated `this` parameter for instance methods.
*/
- public Parameter this_parameter { get; set; }
+ public Parameter? this_parameter { get; set; }
/**
* Specifies whether this is an instance or a class constructor.
diff --git a/vala/valadestructor.vala b/vala/valadestructor.vala
index d036801d5..2febe55d3 100644
--- a/vala/valadestructor.vala
+++ b/vala/valadestructor.vala
@@ -29,7 +29,7 @@ public class Vala.Destructor : Subroutine {
/**
* Specifies the generated `this` parameter for instance methods.
*/
- public Parameter this_parameter { get; set; }
+ public Parameter? this_parameter { get; set; }
/**
* Specifies whether this is an instance or a class destructor.
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.
diff --git a/vala/valaproperty.vala b/vala/valaproperty.vala
index 3d2cbf78a..6f04ff97d 100644
--- a/vala/valaproperty.vala
+++ b/vala/valaproperty.vala
@@ -69,7 +69,7 @@ public class Vala.Property : Symbol, Lockable {
/**
* Represents the generated `this` parameter in this property.
*/
- public Parameter this_parameter { get; set; }
+ public Parameter? this_parameter { get; set; }
/**
* Specifies whether automatic accessor code generation should be