From: Princeton Ferro Date: Thu, 15 Jul 2021 06:31:32 +0000 (-0400) Subject: vala: this_parameter property for subroutines is nullable X-Git-Tag: 0.53.1~21 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2848b530e80c2404de8af29ab2805ffc6b381fbe;p=thirdparty%2Fvala.git vala: this_parameter property for subroutines is nullable --- 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