lib/nitcc_runtime: fixes old style init
authorAlexandre Terrasa <alexandre@moz-code.org>
Fri, 12 Dec 2014 20:08:33 +0000 (15:08 -0500)
committerAlexandre Terrasa <alexandre@moz-code.org>
Mon, 12 Jan 2015 08:18:07 +0000 (09:18 +0100)
Signed-off-by: Alexandre Terrasa <alexandre@moz-code.org>

lib/nitcc_runtime.nit

index 9c5ec01..31c0a45 100644 (file)
@@ -374,10 +374,10 @@ end
 
 private class DephIterator
        super Iterator[Node]
+
        var stack = new List[Iterator[nullable Node]]
 
-       init(i: Iterator[nullable Node])
-       do
+       init(i: Iterator[nullable Node]) is old_style_init do
                stack.add i
        end