Fix MMSignature::not_for_self
[nit.git] / src / metamodel / vararg.nit
index b50fdbd..146784c 100644 (file)
@@ -37,6 +37,13 @@ redef class MMSignature
                return s
        end
 
+       redef meth not_for_self
+       do
+               var s = super
+               s.vararg_rank = _vararg_rank
+               return s
+       end
+
        redef init(params: Array[MMType], return_type: MMType, r: MMType)
        do
                super