Merge: serialization: serialize the Error class and avoid abstract classes with...
[nit.git] / src / nitserial.nit
index 83b697e..1c24d69 100644 (file)
@@ -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