소스 검색

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;