nitlanguage
/
nit.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
f0325f4
)
nitg-s: do not compile_class_to_c for abstract classes and interfaces
author
Jean Privat
<jean@pryen.org>
Sat, 3 Aug 2013 01:41:26 +0000
(21:41 -0400)
committer
Jean Privat
<jean@pryen.org>
Sat, 3 Aug 2013 01:41:26 +0000
(21:41 -0400)
Signed-off-by: Jean Privat <jean@pryen.org>
src/separate_compiler.nit
patch
|
blob
|
history
diff --git
a/src/separate_compiler.nit
b/src/separate_compiler.nit
index
a2e5128
..
a187720
100644
(file)
--- a/
src/separate_compiler.nit
+++ b/
src/separate_compiler.nit
@@
-70,6
+70,7
@@
redef class ModelBuilder
compiler.do_property_coloring
for m in mainmodule.in_importation.greaters do
for mclass in m.intro_mclasses do
+ if mclass.kind == abstract_kind or mclass.kind == interface_kind then continue
compiler.compile_class_to_c(mclass)
end
end