nitlanguage
/
nit.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2323b17
)
frontend: handle no-warnings before starting a modelize phase
author
Jean Privat
<jean@pryen.org>
Sat, 20 Dec 2014 13:46:05 +0000
(08:46 -0500)
committer
Jean Privat
<jean@pryen.org>
Sat, 20 Dec 2014 13:46:05 +0000
(08:46 -0500)
Signed-off-by: Jean Privat <jean@pryen.org>
src/frontend/frontend.nit
patch
|
blob
|
history
diff --git
a/src/frontend/frontend.nit
b/src/frontend/frontend.nit
index
7ba0e90
..
5b04e01
100644
(file)
--- a/
src/frontend/frontend.nit
+++ b/
src/frontend/frontend.nit
@@
-33,6
+33,8
@@
redef class ToolContext
# SEE `dummy`
private fun do_dummy: Bool
do
+ # Force no warning before analysing classes
+ phases.add_edge(modelize_class_phase, no_warning_phase)
# Force easy warnings after modelbuilder
phases.add_edge(simple_misc_analysis_phase, modelize_property_phase)
# Force easy warnings before intraproc-errors