lib/serialization: fix deserialization contructor calling the default init
authorAlexis Laferrière <alexis.laf@xymus.net>
Sat, 17 Oct 2015 00:52:30 +0000 (20:52 -0400)
committerAlexis Laferrière <alexis.laf@xymus.net>
Sat, 17 Oct 2015 11:36:25 +0000 (07:36 -0400)
Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>

lib/serialization/serialization.nit

index e3ca6b3..7c689b6 100644 (file)
@@ -191,7 +191,7 @@ interface Serializable
        # Create an instance of this class from the `deserializer`
        #
        # This constructor is refined by subclasses to correctly build their instances.
-       init from_deserializer(deserializer: Deserializer) do end
+       init from_deserializer(deserializer: Deserializer) is nosuper do end
 end
 
 redef interface Object