icode: add IStaticCall
[nit.git] / src / icode / icode_tools.nit
index 7c38798..9109c38 100644 (file)
@@ -298,6 +298,12 @@ redef class INew
        end
 end
 
+redef class IStaticCall
+       redef fun inner_dup_with(d)
+       do
+               return new IStaticCall(property, d.dup_iregs(exprs))
+       end
+end
 redef class IClosCall
        redef fun dup_with(d)
        do