[Issue 10795] New: Bad return type of ParameterIdentifierTuple if there is no arguments
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Sun Aug 11 11:08:28 PDT 2013
http://d.puremagic.com/issues/show_bug.cgi?id=10795
Summary: Bad return type of ParameterIdentifierTuple if there
is no arguments
Product: D
Version: D2
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: P2
Component: Phobos
AssignedTo: nobody at puremagic.com
ReportedBy: temtaime at gmail.com
--- Comment #0 from Temtaime <temtaime at gmail.com> 2013-08-11 11:08:27 PDT ---
import std.stdio;
import std.traits;
void foo() {
}
void main() {
enum arr = [ ParameterIdentifierTuple!foo ];
writeln(typeof(arr).stringof);
}
Prints:
void[]
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
More information about the Digitalmars-d-bugs
mailing list