From ca993877749f704b803f008725177d4b2c283f34 Mon Sep 17 00:00:00 2001 From: Jean Privat Date: Fri, 6 Mar 2015 10:06:18 +0700 Subject: [PATCH] parser: fix default init for ALabel and ASelfExpr Signed-off-by: Jean Privat --- src/parser/parser_nodes.nit | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/parser/parser_nodes.nit b/src/parser/parser_nodes.nit index 270c185..1cadb05 100644 --- a/src/parser/parser_nodes.nit +++ b/src/parser/parser_nodes.nit @@ -1598,7 +1598,7 @@ class ALabel var n_kwlabel: TKwlabel is writable, noinit # The name of the label, if any - var n_id: nullable TId is writable + var n_id: nullable TId is writable, noinit end # Expression and statements @@ -2222,7 +2222,7 @@ class ASelfExpr super AExpr # The `self` keyword - var n_kwself: nullable TKwself is writable + var n_kwself: nullable TKwself = null is writable end # When there is no explicit receiver, `self` is implicit -- 1.7.9.5