nitlanguage
/
nit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
grammar: allows constructors in extern classes
[nit.git]
/
src
/
compiling
/
compiling_icode.nit
diff --git
a/src/compiling/compiling_icode.nit
b/src/compiling/compiling_icode.nit
index
b7aeb12
..
754b43f
100644
(file)
--- a/
src/compiling/compiling_icode.nit
+++ b/
src/compiling/compiling_icode.nit
@@
-675,7
+675,7
@@
redef class INative
v.add_location(location)
if method.is_intern then
compile_intern_method_to_c(v)
- else
+ else if not method.is_init then
compile_extern_method_to_c(v)
end
end