phase: make `disabled=` public
authorJean Privat <jean@pryen.org>
Wed, 29 Oct 2014 12:50:54 +0000 (08:50 -0400)
committerJean Privat <jean@pryen.org>
Wed, 29 Oct 2014 12:50:54 +0000 (08:50 -0400)
Signed-off-by: Jean Privat <jean@pryen.org>

src/phase.nit

index d1cc1cb..57b8b53 100644 (file)
@@ -182,7 +182,9 @@ abstract class Phase
 
        # Is the phase globally disabled?
        # A disabled phase is not called automatically called by `ToolContext::run_phases` and cie.
-       var disabled = false
+       #
+       # Warning: disabling a phase may cause subsequent phases to work in a degraded way or to fail.
+       var disabled = false is writable
 
        # Specific actions to execute on the whole tree of a module
        # @toimplement