From 657602297387fc05ef0d8a81dc6fd8d62408d493 Mon Sep 17 00:00:00 2001 From: Alexandre Terrasa Date: Tue, 21 Nov 2017 11:39:09 -0500 Subject: [PATCH] frontend: move annotations to check_annotation So all core lib can use it. Signed-off-by: Alexandre Terrasa --- lib/core/core.nit | 8 +------- src/frontend/check_annotation.nit | 6 ++++++ 2 files changed, 7 insertions(+), 7 deletions(-) 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` -- 1.7.9.5