nitlanguage
/
nit.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dcd0caa
)
compiler: a method can be extern and intern, extern is used as a fallback
author
Jean Privat
<jean@pryen.org>
Tue, 15 Dec 2015 22:07:06 +0000
(17:07 -0500)
committer
Jean Privat
<jean@pryen.org>
Tue, 15 Dec 2015 22:07:06 +0000
(17:07 -0500)
Signed-off-by: Jean Privat <jean@pryen.org>
src/compiler/abstract_compiler.nit
patch
|
blob
|
history
diff --git
a/src/compiler/abstract_compiler.nit
b/src/compiler/abstract_compiler.nit
index
f0a05c9
..
626607e
100644
(file)
--- a/
src/compiler/abstract_compiler.nit
+++ b/
src/compiler/abstract_compiler.nit
@@
-2135,7
+2135,8
@@
redef class AMethPropdef
# Try special compilation
if mpropdef.is_intern then
if compile_intern_to_c(v, mpropdef, arguments) then return
- else if mpropdef.is_extern then
+ end
+ if mpropdef.is_extern then
if mpropdef.mproperty.is_init then
if compile_externinit_to_c(v, mpropdef, arguments) then return
else