nitlanguage
/
nit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge: serialization: serialize the Error class and avoid abstract classes with...
[nit.git]
/
src
/
nitserial.nit
diff --git
a/src/nitserial.nit
b/src/nitserial.nit
index
83b697e
..
1c24d69
100644
(file)
--- a/
src/nitserial.nit
+++ b/
src/nitserial.nit
@@
-218,6
+218,7
@@
redef class Deserializer
if mtype isa MGenericType and
mtype.is_subtype(m, null, serializable_type) and
mtype.is_visible_from(mmodule) and
+ mtype.mclass.kind == concrete_kind and
not compiled_types.has(mtype) then
compiled_types.add mtype