diff basic/Message.d @ 150:6c5a3c0bb4fb

Make switch work again Also added locations to statements (only filled out for switch) Added a verification pass Removed some comments
author Anders Halager <halager@gmail.com>
date Mon, 21 Jul 2008 20:35:03 +0200
parents 89db676fbacb
children 2a1a635bd531
line wrap: on
line diff
--- a/basic/Message.d	Mon Jul 21 19:17:56 2008 +0200
+++ b/basic/Message.d	Mon Jul 21 20:35:03 2008 +0200
@@ -146,7 +146,7 @@
 
     Message arg(char[] s)
     {
-        if (args.length == 11)
+        if (args.length > 10)
             throw new Exception("Sorry, errors only support up to 10 args");
         args ~= s;
         return this;