http://d.puremagic.com/issues/show_bug.cgi?id=3416



--- Comment #4 from Max Samukha <samu...@voliacable.com> 2009-10-19 05:09:11 
PDT ---
Interestingly, if 'foo' is instantiated in 'static assert', is incorrectly
evaluated to true.

template bar(T)
{
    private void baz()
    {
        T a = null;
    }
}

template foo(T)
{
    enum foo = is(typeof(bar!T));
}

static assert(!foo!int);
----
Error: static assert  (!true) is false

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------

Reply via email to