On Sun, Feb 12, 2012 at 8:11 PM, Adam D. Ruppe <destructiona...@gmail.com> wrote: > On Sunday, 12 February 2012 at 21:43:57 UTC, Jose Armando Garcia wrote: >> >> Very helpful advice! I narrowed it down to: >> >> $ cat format spec.d >> >> import std.format; >> void main() { >> static assert(is(Unqual!char == char)); >> FormatSpec!char spec; >> } >> >> ../dmd/src/dmd -w format spec.d >> format spec.d(4): Error: static assert (is(Unqual!(char) == char)) is >> false >> >> >> This is suppose to be true, no? > > > > It is if you import std.traits. I don't think > the Unqual template is in scope there which is why > the is() fails.
Sorry for the false alarm. I think the problem went away once I rebuild dmd, druntime and phobos. Your advice was really good in helping me make any sense of this! Thanks. -Jose