var c: Char
var f: Float
var i: Int
- var s: String
+ var s: String is serialize_as "serialization_specific_name"
var n: nullable Int
var password = "p4ssw0rd" is lazy, noserialize
var n: N
- redef fun to_s do return "<E: {n}>"
+ redef fun to_s do return "<F: {n}>"
end
# Other collections
var with_generics: Array[Serializable] = [a, b, c, d, e, fi, ff, g: Serializable]
end
-# We instanciate it here so that `nitserial` detects generic types as being alive
+# We instantiate it here so that `nitserial` detects generic types as being alive
var entities = new TestEntities