Explorar el Código

[docs] clarify that NoCheckDependencies can be dangerous

skip ci
Simon Krajewski hace 7 años
padre
commit
b3133faa76
Se han modificado 1 ficheros con 5 adiciones y 0 borrados
  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;