Mercurial > projects > dang
diff dang/compiler.d @ 114:3a0cd42de9cc
Removed misc/Error.d and is now using the error system all way through.
author | Anders Johnsen <skabet@gmail.com> |
---|---|
date | Sun, 25 May 2008 16:40:38 +0200 |
parents | 89db676fbacb |
children | 2be29b296081 |
line wrap: on
line diff
--- a/dang/compiler.d Sun May 25 15:48:13 2008 +0200 +++ b/dang/compiler.d Sun May 25 16:40:38 2008 +0200 @@ -247,12 +247,14 @@ StopWatch watch2; watch.start; watch2.start; - (new ScopeCheck).visit(modules); + (new ScopeCheck(messages)).visit(modules); auto scope_check = watch2.stop; watch2.start; - (new TypeCheck).visit(modules); + messages.checkErrors; + (new TypeCheck(messages)).visit(modules); auto type_check = watch2.stop; watch2.start; + messages.checkErrors; foreach (m; modules) foreach (decl; m.decls)