浏览代码

[docs] clarify that NoCheckDependencies can be dangerous

skip ci
Simon Krajewski 7 年之前
父节点
当前提交
b3133faa76
共有 1 个文件被更改,包括 5 次插入0 次删除
  1. 5 0
      std/haxe/macro/CompilationServer.hx

+ 5 - 0
std/haxe/macro/CompilationServer.hx

@@ -17,6 +17,11 @@ abstract ModuleCheckPolicy(Int) {
 
 	/**
 		Disables dependency checks of the module.
+
+		This should only be used for modules that don't depend on any module that
+		might change. It is effectively a promise to the compiler that the module
+		is unaffected by changes made to other modules. If that promise is broken,
+		the compiler is sad and things probably stop working.
 	**/
 	var NoCheckDependencies = 2;