errasurecomp: disable tagging of primitives to not break the tests
authorJean Privat <jean@pryen.org>
Sun, 15 Mar 2015 15:03:13 +0000 (22:03 +0700)
committerJean Privat <jean@pryen.org>
Wed, 18 Mar 2015 05:13:35 +0000 (12:13 +0700)
Signed-off-by: Jean Privat <jean@pryen.org>

src/compiler/separate_erasure_compiler.nit

index 2c90e65..6e0d2b6 100644 (file)
@@ -39,6 +39,11 @@ redef class ToolContext
                if opt_no_check_all.value then
                        opt_no_check_erasure_cast.value = true
                end
+
+               # Temporary disabled. TODO: implement tagging in the erasure compiler.
+               if opt_erasure.value then
+                       opt_no_tag_primitives.value = true
+               end
        end
 
        var erasure_compiler_phase = new ErasureCompilerPhase(self, null)