erasure_compiler: Add contract phase dependency
authorFlorian Deljarry <deljarry.florian@gmail.com>
Wed, 1 Jul 2020 19:53:52 +0000 (15:53 -0400)
committerFlorian Deljarry <deljarry.florian@gmail.com>
Wed, 1 Jul 2020 19:59:39 +0000 (15:59 -0400)
Signed-off-by: Florian Deljarry <deljarry.florian@gmail.com>

src/compiler/separate_erasure_compiler.nit

index 635e601..813e7fb 100644 (file)
@@ -46,7 +46,7 @@ redef class ToolContext
                end
        end
 
-       var erasure_compiler_phase = new ErasureCompilerPhase(self, null)
+       var erasure_compiler_phase = new ErasureCompilerPhase(self, [contracts_phase])
 end
 
 class ErasureCompilerPhase