diff options
Diffstat (limited to 'vala/valaconstructor.vala')
-rw-r--r-- | vala/valaconstructor.vala | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/vala/valaconstructor.vala b/vala/valaconstructor.vala index 28b72e96f..0aea35128 100644 --- a/vala/valaconstructor.vala +++ b/vala/valaconstructor.vala @@ -25,11 +25,16 @@ using GLib; /** * Represents a class or instance constructor. */ -public class Vala.Constructor : CodeNode { +public class Vala.Constructor : Symbol { /** * The body of this constructor. */ - public Statement body { get; set; } + public Block body { get; set; } + + /** + * Specifies the generated `this' parameter for instance methods. + */ + public FormalParameter this_parameter { get; set; } private bool _instance = true; |