# HG changeset patch # User Aziz K?ksal # Date 1216509823 -7200 # Node ID c60bd5cd61da04b45cfe8430e8585a7d1cb5ea2f # Parent aad6aeb5d12b4a4046b968a314eb8529c2a3dd31 Fixed code that got broken by changes in dmd.1.033. diff -r aad6aeb5d12b -r c60bd5cd61da src/SettingsLoader.d --- 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; } diff -r aad6aeb5d12b -r c60bd5cd61da src/dil/ast/Node.d --- a/src/dil/ast/Node.d Sun Jul 20 00:40:00 2008 +0200 +++ b/src/dil/ast/Node.d Sun Jul 20 01:23:43 2008 +0200 @@ -67,7 +67,7 @@ /// Returns a reference to Class if this node can be cast to it. Class Is(Class)() { - if (kind == mixin("NodeKind." ~ typeof(Class).stringof)) + if (kind == mixin("NodeKind." ~ Class.stringof)) return cast(Class)cast(void*)this; return null; } diff -r aad6aeb5d12b -r c60bd5cd61da src/dil/semantic/Symbol.d --- a/src/dil/semantic/Symbol.d Sun Jul 20 00:40:00 2008 +0200 +++ b/src/dil/semantic/Symbol.d Sun Jul 20 01:23:43 2008 +0200 @@ -96,7 +96,7 @@ /// Casts the symbol to Class. Class to(Class)() { - assert(mixin(`this.sid == mixin("SYM." ~ typeof(Class).stringof)`)); + assert(mixin(`this.sid == mixin("SYM." ~ Class.stringof)`)); return cast(Class)cast(void*)this; }