nitlanguage
/
nit.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6e549a2
)
parser: fix default init for ALabel and ASelfExpr
author
Jean Privat
<jean@pryen.org>
Fri, 6 Mar 2015 03:06:18 +0000
(10:06 +0700)
committer
Jean Privat
<jean@pryen.org>
Fri, 6 Mar 2015 03:06:18 +0000
(10:06 +0700)
Signed-off-by: Jean Privat <jean@pryen.org>
src/parser/parser_nodes.nit
patch
|
blob
|
history
diff --git
a/src/parser/parser_nodes.nit
b/src/parser/parser_nodes.nit
index
270c185
..
1cadb05
100644
(file)
--- 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