瀏覽代碼

Specify docs of `Sys.exit()` for eval (closes #7217)

Alexander Kuzmenko 6 年之前
父節點
當前提交
1747a93448
共有 1 個文件被更改,包括 3 次插入0 次删除
  1. 3 0
      std/Sys.hx

+ 3 - 0
std/Sys.hx

@@ -100,6 +100,9 @@ extern class Sys {
 
 	/**
 		Exit the current process with the given error code.
+
+		(macro)(eval) Being invoked in a macro or eval context (e.g. with `-x` or `--run`) immediately terminates
+		the compilation process also preventing the execution of any `--next` section of compilation arguments.
 	**/
 	static function exit( code : Int ) : Void;