Mercurial > projects > orange
comparison orange/util/CTFE.d @ 2:ea37a9470e3e
Fixed multiple NonSerialized
author | Jacob Carlborg <doob@me.com> |
---|---|
date | Mon, 31 May 2010 17:44:23 +0200 |
parents | 11a31bd929f9 |
children | 78e5fef4bbf2 |
comparison
equal
deleted
inserted
replaced
1:11a31bd929f9 | 2:ea37a9470e3e |
---|---|
18 { | 18 { |
19 static if (is(typeof(ARGS[0]) : string)) | 19 static if (is(typeof(ARGS[0]) : string)) |
20 const format = ARGS[0] ~ format!(ARGS[1 .. $]); | 20 const format = ARGS[0] ~ format!(ARGS[1 .. $]); |
21 | 21 |
22 else | 22 else |
23 { | |
24 pragma(msg, typeof(ARGS[0].stringof)); | |
25 const format = toString_!(ARGS[0]) ~ format!(ARGS[1 .. $]); | 23 const format = toString_!(ARGS[0]) ~ format!(ARGS[1 .. $]); |
26 } | |
27 | |
28 } | 24 } |
29 } | 25 } |
30 | 26 |
31 private | 27 private |
32 { | 28 { |