From: Alexandre Terrasa Date: Tue, 21 Nov 2017 16:39:09 +0000 (-0500) Subject: frontend: move annotations to check_annotation X-Git-Url: http://nitlanguage.org frontend: move annotations to check_annotation So all core lib can use it. Signed-off-by: Alexandre Terrasa --- diff --git a/lib/core/core.nit b/lib/core/core.nit index 6eaff6e..97a4271 100644 --- a/lib/core/core.nit +++ b/lib/core/core.nit @@ -13,13 +13,7 @@ # 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 diff --git a/src/frontend/check_annotation.nit b/src/frontend/check_annotation.nit index 3dd8042..0fe18cb 100644 --- a/src/frontend/check_annotation.nit +++ b/src/frontend/check_annotation.nit @@ -104,6 +104,12 @@ ldflags light_ffi platform + +test +before +before_all +after +after_all """ # Efficient set build from `primtives_annotations_list`