فهرست منبع

[hxb] restore base hxb

Rudy Ges 1 سال پیش
والد
کامیت
69e6126152
2فایلهای تغییر یافته به همراه3 افزوده شده و 4 حذف شده
  1. 1 1
      src/compiler/generate.ml
  2. 2 3
      tests/runci/targets/Macro.hx

+ 1 - 1
src/compiler/generate.ml

@@ -21,7 +21,7 @@ let check_auxiliary_output com actx =
 			Genjson.generate com.types file
 	end
 
-let export_hxb com root m =
+let export_hxb com root (m:TType.module_def) =
 	match m.m_extra.m_kind with
 		| MCode | MMacro | MFake -> begin
 			(* Printf.eprintf "Export module %s\n" (s_type_path m.m_path); *)

+ 2 - 3
tests/runci/targets/Macro.hx

@@ -5,9 +5,8 @@ import runci.Config.*;
 
 class Macro {
 	static public function run(args:Array<String>) {
-		// runCommand("haxe", ["compile-hxb-interp.hxml"].concat(args));
-		// runCommand("haxe", ["compile-read-hxb-interp.hxml"].concat(args));
-		// return; // don't overlook this
+		runCommand("haxe", ["compile-hxb-interp.hxml"].concat(args));
+		runCommand("haxe", ["compile-read-hxb-interp.hxml"].concat(args));
 
 		runCommand("haxe", ["compile-macro.hxml"].concat(args));