October 14, 2013 [Issue 11259] New: __traits(isSame) fails on the result of __traits(parent) if parent is a package | ||||
---|---|---|---|---|
| ||||
http://d.puremagic.com/issues/show_bug.cgi?id=11259 Summary: __traits(isSame) fails on the result of __traits(parent) if parent is a package Product: D Version: D2 Platform: All OS/Version: All Status: NEW Severity: normal Priority: P2 Component: DMD AssignedTo: nobody@puremagic.com ReportedBy: samukha@voliacable.com --- Comment #0 from Max Samukha <samukha@voliacable.com> 2013-10-14 08:34:14 PDT --- import std.traits; static assert(__traits(isSame, std, std)); // ok static assert(__traits(isSame, __traits(parent, std.traits), std)); // fail Error: static assert (__traits(isSame, std, std)) is false -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
Copyright © 1999-2021 by the D Language Foundation