[Issue 1366] Inconsistent __traits usage
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Thu Feb 4 19:39:44 PST 2010
http://d.puremagic.com/issues/show_bug.cgi?id=1366
Hoenir <mrmocool at gmx.de> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |mrmocool at gmx.de
--- Comment #1 from Hoenir <mrmocool at gmx.de> 2010-02-04 19:39:44 PST ---
Error message has changed.
import std.stdio;
void main(string[] pArgs)
{
auto x = pArgs.idup;
writeln(__traits(isStaticArray,x));
}
works, but
void main(string[] pArgs)
{
writeln(__traits(isStaticArray, pArgs.idup));
}
yields
Error: Cannot interpret string[] at compile time now
--
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