nitlanguage
/
nit.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d15840a
)
modelbuilder: AExternInitPropdef implicit name is `init`
author
Jean Privat
<jean@pryen.org>
Thu, 16 May 2013 01:26:31 +0000
(21:26 -0400)
committer
Jean Privat
<jean@pryen.org>
Thu, 16 May 2013 01:30:46 +0000
(21:30 -0400)
because `new X` is `new X.init`
Signed-off-by: Jean Privat <jean@pryen.org>
src/modelbuilder.nit
patch
|
blob
|
history
diff --git
a/src/modelbuilder.nit
b/src/modelbuilder.nit
index
64b1a5a
..
3f39d6d
100644
(file)
--- a/
src/modelbuilder.nit
+++ b/
src/modelbuilder.nit
@@
-1175,7
+1175,7
@@
redef class AMethPropdef
name = "init"
name_node = self.n_kwinit
else if self isa AExternInitPropdef then
- name = "new"
+ name = "init"
name_node = self.n_kwnew
else
abort