[Issue 3092] Indexing a tuple produces a tuple containing the indexed element
http://d.puremagic.com/issues/show_bug.cgi?id=3092 Kenji Hara changed: What|Removed |Added Platform|Other |All Version|1.045 |D1 & D2 OS/Version|Windows |All --- Comment #14 from Kenji Hara 2011-12-17 22:49:26 PST --- https://github.com/D-Programming-Language/dmd/pull/567 -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 7011] No line number error for vector power
http://d.puremagic.com/issues/show_bug.cgi?id=7011 Walter Bright changed: What|Removed |Added Status|NEW |RESOLVED CC||bugzi...@digitalmars.com Resolution||FIXED --- Comment #2 from Walter Bright 2011-12-17 22:21:56 PST --- https://github.com/D-Programming-Language/dmd/commit/68a8b14e917525be5f58d9459aae2a498af173af https://github.com/D-Programming-Language/dmd/commit/2f4ecaa8ddb09240942e5451308b46c8937b87e0 -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 5184] throw ClassName.templatedStaticMethod(...) cannot be parsed
http://d.puremagic.com/issues/show_bug.cgi?id=5184 Kenji Hara changed: What|Removed |Added Status|NEW |RESOLVED Resolution||FIXED --- Comment #2 from Kenji Hara 2011-12-17 22:12:22 PST --- https://github.com/D-Programming-Language/dmd/commit/5011154cdb4e9d48f4a866b18defb2b03f93a2b2 https://github.com/D-Programming-Language/dmd/commit/fdca0001179a43a188f3c003bf2b50757e250403 -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 6995] [CTFE] can't interpret static template method
http://d.puremagic.com/issues/show_bug.cgi?id=6995 Walter Bright changed: What|Removed |Added Status|NEW |RESOLVED CC||bugzi...@digitalmars.com Resolution||FIXED --- Comment #1 from Walter Bright 2011-12-17 20:50:36 PST --- https://github.com/D-Programming-Language/dmd/commit/5011154cdb4e9d48f4a866b18defb2b03f93a2b2 https://github.com/D-Programming-Language/dmd/commit/fdca0001179a43a188f3c003bf2b50757e250403 -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 664] is(func T == function) ignores variadic arguments
http://d.puremagic.com/issues/show_bug.cgi?id=664 --- Comment #5 from Stewart Gordon 2011-12-17 18:27:18 PST --- (3) Have function(char, ...) just not matching function(T) for any value of T. ... is a fundamentally different kind of thing from a type, so it doesn't seem to make sense to allow it as an element of a type tuple. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 2157] [GSoC] mixin struct, function overload
http://d.puremagic.com/issues/show_bug.cgi?id=2157 Kenji Hara changed: What|Removed |Added Status|NEW |RESOLVED Resolution||INVALID --- Comment #3 from Kenji Hara 2011-12-17 18:12:05 PST --- This is not an issue. http://d-programming-language.org/template-mixin.html > Mixin Scope > > The declarations in a mixin are ‘imported’ into the surrounding scope. If > the name of a declaration in a mixin is the same as a declaration in the > surrounding scope, the surrounding declaration overrides the mixin one: ^ If you want to merge overloads, you can add alias declaration to do it. template T() { int m_attr; const {int attr() {return m_attr;}} } struct S { mixin T t; void attr(int n) {m_attr = n;} alias t.attr attr;// Merge overloads } int main() { const S s; int r; r = s.attr(); return r; } -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 6951] dependency parameter (-deps) crashes dmd in release build
http://d.puremagic.com/issues/show_bug.cgi?id=6951 Vladimir Panteleev changed: What|Removed |Added CC||thecybersha...@gmail.com --- Comment #6 from Vladimir Panteleev 2011-12-17 17:35:22 PST --- bug.bat runs without problem with v2.057 on my machine. Perhaps you can reduce a minimal test case using DustMite? -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 2157] [GSoC] mixin struct, function overload
http://d.puremagic.com/issues/show_bug.cgi?id=2157 pomp...@gmail.com changed: What|Removed |Added CC||pomp...@gmail.com --- Comment #2 from pomp...@gmail.com 2011-12-17 17:05:10 PST --- This is still an issue in dmd 2.057, tested with the following code: mixin template EagerSingleton() { private this() { instance = this; } private static typeof(this) instance; } class NetworkPacketQueue { mixin EagerSingleton; public this(string bla) { this(); } } void main() { new NetworkPacketQueue("Hey"); } -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 7019] implicit constructors are inconsistently allowed
http://d.puremagic.com/issues/show_bug.cgi?id=7019 timon.g...@gmx.ch changed: What|Removed |Added CC||siegelords_ab...@yahoo.com --- Comment #3 from timon.g...@gmx.ch 2011-12-17 13:40:18 PST --- *** Issue 7126 has been marked as a duplicate of this issue. *** -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 7126] struct constructor ignored with global initializers
http://d.puremagic.com/issues/show_bug.cgi?id=7126 timon.g...@gmx.ch changed: What|Removed |Added Status|NEW |RESOLVED CC||timon.g...@gmx.ch Resolution||DUPLICATE --- Comment #1 from timon.g...@gmx.ch 2011-12-17 13:40:17 PST --- *** This issue has been marked as a duplicate of issue 7019 *** -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 7126] New: struct constructor ignored with global initializers
http://d.puremagic.com/issues/show_bug.cgi?id=7126 Summary: struct constructor ignored with global initializers Product: D Version: D2 Platform: All OS/Version: Linux Status: NEW Severity: normal Priority: P2 Component: DMD AssignedTo: nob...@puremagic.com ReportedBy: siegelords_ab...@yahoo.com --- Comment #0 from siegelords_ab...@yahoo.com 2011-12-17 12:58:30 PST --- struct new_int { this(int val) { payload = val; } int payload = -1; alias payload this; } new_int a = 1; // Error: cannot implicitly convert expression (1) of type int to new_int void main() { new_int b = 1; // Works ok } -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 5570] 64 bit C ABI not followed for passing structs and complex numbers as function parameters
http://d.puremagic.com/issues/show_bug.cgi?id=5570 siegelords_ab...@yahoo.com changed: What|Removed |Added CC||siegelords_ab...@yahoo.com --- Comment #4 from siegelords_ab...@yahoo.com 2011-12-17 11:49:28 PST --- See also http://d.puremagic.com/issues/show_bug.cgi?id=6348. It's plain impossible to use C libraries with value semantics for structs on 64 bits. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 7125] New: semi stable sort is not supported
http://d.puremagic.com/issues/show_bug.cgi?id=7125 Summary: semi stable sort is not supported Product: D Version: D2 Platform: All OS/Version: All Status: NEW Severity: normal Priority: P2 Component: Phobos AssignedTo: nob...@puremagic.com ReportedBy: k.hara...@gmail.com --- Comment #0 from Kenji Hara 2011-12-17 05:33:37 PST --- Following code does not compile, import std.algorithm; void main() { auto r1 = sort!("ahttp://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 7123] static assert(is(typeof(toDelegate(&main)))) is false
http://d.puremagic.com/issues/show_bug.cgi?id=7123 Kenji Hara changed: What|Removed |Added Keywords||patch, wrong-code Platform|Other |All OS/Version|Windows |All --- Comment #2 from Kenji Hara 2011-12-17 04:46:16 PST --- https://github.com/D-Programming-Language/dmd/pull/566 -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 7123] static assert(is(typeof(toDelegate(&main)))) is false
http://d.puremagic.com/issues/show_bug.cgi?id=7123 --- Comment #1 from Kenji Hara 2011-12-17 04:12:01 PST --- Reduced test case: private struct DelegateFaker(F) { template GeneratingPolicy() {} enum WITH_BASE_CLASS = __traits(hasMember, GeneratingPolicy!(), "x"); } auto toDelegate(F)(F fp) { alias DelegateFaker!F Faker; } void main() { version(pass) { pragma(msg, typeof(toDelegate(&main))); static assert(is(typeof(toDelegate(&main; } else { static assert(is(typeof(toDelegate(&main; } } -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 7124] Alias this type is not considered in template type deduction
http://d.puremagic.com/issues/show_bug.cgi?id=7124 Kenji Hara changed: What|Removed |Added Keywords||patch --- Comment #2 from Kenji Hara 2011-12-17 02:47:06 PST --- https://github.com/D-Programming-Language/dmd/pull/565 -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 7124] Alias this type is not considered in template type deduction
http://d.puremagic.com/issues/show_bug.cgi?id=7124 Kenji Hara changed: What|Removed |Added Summary|Alias this doesn|Alias this type is not ||considered in template ||type deduction --- Comment #1 from Kenji Hara 2011-12-17 01:48:44 PST --- Following code doesn't compile. template StaticArrayOf(T : E[dim], E, size_t dim) { pragma(msg, "T = ", T, ", E = ", E, ", dim = ", dim); alias E[dim] StaticArrayOf; } template DynamicArrayOf(T : E[], E) { pragma(msg, "T = ", T, ", E = ", E); alias E[] DynamicArrayOf; } template AssocArrayOf(T : V[K], K, V) { pragma(msg, "T = ", T, ", K = ", K, ", V = ", V); alias V[K] AssocArrayOf; } void main() { struct SA { int[5] sa; alias sa this; } static assert(is(StaticArrayOf!SA == int[5])); struct DA { int[] da; alias da this; } static assert(is(DynamicArrayOf!DA == int[])); struct AA { int[string] aa; alias aa this; } static assert(is(AssocArrayOf!AA == int[string])); } -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 7124] New: Alias this doesn
http://d.puremagic.com/issues/show_bug.cgi?id=7124 Summary: Alias this doesn Product: D Version: D2 Platform: All OS/Version: All Status: NEW Severity: normal Priority: P2 Component: DMD AssignedTo: nob...@puremagic.com ReportedBy: k.hara...@gmail.com --- Comment #0 from Kenji Hara 2011-12-17 01:45:12 PST --- -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---