lib/ropes: use `redef` for inherited named constructors
authorJean Privat <jean@pryen.org>
Tue, 20 May 2014 18:15:05 +0000 (14:15 -0400)
committerJean Privat <jean@pryen.org>
Fri, 23 May 2014 12:35:20 +0000 (08:35 -0400)
Signed-off-by: Jean Privat <jean@pryen.org>

lib/standard/ropes.nit

index 8d507a1..5758afd 100644 (file)
@@ -332,7 +332,7 @@ class BufferRope
                super
        end
 
-       init with_string(str)
+       redef init with_string(str)
        do
                super
        end
@@ -624,7 +624,7 @@ class ImmutableRope
                super
        end
 
-       init with_string(str)
+       redef init with_string(str)
        do
                super
        end
@@ -869,7 +869,7 @@ private class DFSRopeLeafIterator
        end
 
        # Creates a new iterator on `tgt` starting at `index`
-       init with_index(tgt: Rope, index: Int)
+       redef init with_index(tgt: Rope, index: Int)
        do
                super