diff src/SettingsLoader.d @ 831:c60bd5cd61da

Fixed code that got broken by changes in dmd.1.033.
author Aziz K?ksal <aziz.koeksal@gmail.com>
date Sun, 20 Jul 2008 01:23:43 +0200
parents 525ee3f848d9
children 4063da6f3edd
line wrap: on
line diff
--- a/src/SettingsLoader.d	Sun Jul 20 00:40:00 2008 +0200
+++ b/src/SettingsLoader.d	Sun Jul 20 01:23:43 2008 +0200
@@ -57,7 +57,7 @@
       return error(t, "'{}' variable has no value set", name), T.init;
     T val = value.Is!(T); // Try casting to T.
     if (!val)
-      error(value.begin, "the value of '{}' is not of type {}", name, typeof(T).stringof);
+      error(value.begin, "the value of '{}' is not of type {}", name, T.stringof);
     return val;
   }