X-Git-Url: http://nitlanguage.org diff --git a/src/nitlight.nit b/src/nitlight.nit index 0c8998b..9a7b050 100644 --- a/src/nitlight.nit +++ b/src/nitlight.nit @@ -19,9 +19,6 @@ import highlight var toolcontext = new ToolContext -# Disable `cached` because it causes issues when printing transformed AST. FIXME -toolcontext.cached_phase.disabled = true - # Try to colorize, even if programs are non valid toolcontext.keep_going = true @@ -124,7 +121,7 @@ if dir != null then var v = new HighlightVisitor toolcontext.info("write {dir}/style.css", 1) - var f = new OFStream.open("{dir}/style.css") + var f = new FileWriter.open("{dir}/style.css") f.write v.css_content f.close end