frontend: move annotations to check_annotation
authorAlexandre Terrasa <alexandre@moz-code.org>
Tue, 21 Nov 2017 16:39:09 +0000 (11:39 -0500)
committerAlexandre Terrasa <alexandre@moz-code.org>
Tue, 28 Nov 2017 20:03:28 +0000 (15:03 -0500)
So all core lib can use it.

Signed-off-by: Alexandre Terrasa <alexandre@moz-code.org>

lib/core/core.nit
src/frontend/check_annotation.nit

index 6eaff6e..97a4271 100644 (file)
 
 # Standard classes and methods used by default by Nit programs and libraries.
 # This module is implicitly imported by every module.
-module core is
-       new_annotation test
-       new_annotation before
-       new_annotation before_all
-       new_annotation after
-       new_annotation after_all
-end
+module core
 
 import posix
 import environ
index 3dd8042..0fe18cb 100644 (file)
@@ -104,6 +104,12 @@ ldflags
 light_ffi
 
 platform
+
+test
+before
+before_all
+after
+after_all
 """
 
        # Efficient set build from `primtives_annotations_list`