nitlanguage
/
nit.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c591913
)
phase: make `disabled=` public
author
Jean Privat
<jean@pryen.org>
Wed, 29 Oct 2014 12:50:54 +0000
(08:50 -0400)
committer
Jean 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
patch
|
blob
|
history
diff --git
a/src/phase.nit
b/src/phase.nit
index
d1cc1cb
..
57b8b53
100644
(file)
--- a/
src/phase.nit
+++ b/
src/phase.nit
@@
-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