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


yebblies <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]


--- Comment #1 from yebblies <[email protected]> 2013-08-29 22:37:38 EST ---
What would you expect it to be?

It expands to:

import std.stdio;
import std.traits;

void foo() {
}

void main() {
    enum arr = [ ];
    writeln(typeof(arr).stringof);
}

And arr is correctly inferred to have a type of void[] (the type of the literal
[]).  There are no expressions the the result of ParameterIdentifierTuple to
infer any other type from.

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

Reply via email to