[Issue 8787] Virtual not abstract methods in interfaces error message
http://d.puremagic.com/issues/show_bug.cgi?id=8787 Kenji Hara changed: What|Removed |Added Status|NEW |RESOLVED Resolution||FIXED -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 9312] with statement error message is wrong
http://d.puremagic.com/issues/show_bug.cgi?id=9312 Kenji Hara changed: What|Removed |Added Status|NEW |RESOLVED Resolution||FIXED --- Comment #3 from Kenji Hara 2013-01-13 23:10:08 PST --- https://github.com/D-Programming-Language/dmd/commit/617c393034024471722ed73711d7100fa3a45780 -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 8787] Virtual not abstract methods in interfaces error message
http://d.puremagic.com/issues/show_bug.cgi?id=8787 --- Comment #2 from github-bugzi...@puremagic.com 2013-01-13 23:12:21 PST --- Commits pushed to master at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/185f27951638a3f3499c4fd3975dd1962d80c3cd Fixes Issue 8787 - Better diagnostic on non-final interface function with a body. https://github.com/D-Programming-Language/dmd/commit/67ca915e3d89db564217bd6452de6c6799c01f6c Merge pull request #1416 from AndrejMitrovic/Fix8787 Issue 8787 - Better diagnostic on non-final interface function with a body -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 9305] Ugly Ddoc for default template lambda expressions
http://d.puremagic.com/issues/show_bug.cgi?id=9305 Kenji Hara changed: What|Removed |Added Keywords||diagnostic, pull --- Comment #1 from Kenji Hara 2013-01-13 22:29:31 PST --- https://github.com/D-Programming-Language/dmd/pull/1481 -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 9299] std.algorithm.minPos of const(int)[]
http://d.puremagic.com/issues/show_bug.cgi?id=9299 --- Comment #5 from bearophile_h...@eml.cc 2013-01-13 21:05:06 PST --- (In reply to comment #1) > minCount also seems impacted :/ I have created Issue 9314 -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 9314] New: std.algorithm.minCount of const(int)[]
http://d.puremagic.com/issues/show_bug.cgi?id=9314 Summary: std.algorithm.minCount of const(int)[] Product: D Version: D2 Platform: x86 OS/Version: Windows Status: NEW Keywords: rejects-valid Severity: normal Priority: P2 Component: Phobos AssignedTo: nob...@puremagic.com ReportedBy: bearophile_h...@eml.cc --- Comment #0 from bearophile_h...@eml.cc 2013-01-13 21:04:25 PST --- Related to Issue 9299 import std.algorithm: minCount; import std.typecons: tuple; void main() { int[] a1 = [2, 3, 1, 4, 1, 1]; assert(minCount(a1) == tuple(1, 3)); const(int)[] a2 = [2, 3, 1, 4, 1, 1]; assert(minCount(a2) == tuple(1, 3)); immutable int[] a3 = [2, 3, 1, 4, 1, 1]; assert(minCount(a3) == tuple(1, 3)); } DMD 2.062alpha gives: ..\dmd2\src\phobos\std\algorithm.d(1541): Error: cannot modify const expression target ..\dmd2\src\phobos\std\algorithm.d(6173): Error: template instance std.algorithm.move!(const(int)) error instantiating temp.d(7):instantiated from here: minCount!("a < b", const(int)[]) temp.d(7): Error: template instance std.algorithm.minCount!("a < b", const(int)[]) error instantiating ..\dmd2\src\phobos\std\algorithm.d(1541): Error: cannot modify immutable expression target ..\dmd2\src\phobos\std\algorithm.d(6173): Error: template instance std.algorithm.move!(immutable(int)) error instantiating temp.d(9):instantiated from here: minCount!("a < b", immutable(int)[]) temp.d(9): Error: template instance std.algorithm.minCount!("a < b", immutable(int)[]) error instantiating -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 9147] Implicit conversion to struct with alias this does not work
http://d.puremagic.com/issues/show_bug.cgi?id=9147 yebblies changed: What|Removed |Added CC||yebbl...@gmail.com Severity|critical|enhancement --- Comment #1 from yebblies 2013-01-14 15:54:18 EST --- This is not a bug, it's working as intended. D does not support implicit construction like this. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 9312] with statement error message is wrong
http://d.puremagic.com/issues/show_bug.cgi?id=9312 Andrej Mitrovic changed: What|Removed |Added Summary|with statement error|with statement error |message should say structs |message is wrong |are allowed as expressions | --- Comment #2 from Andrej Mitrovic 2013-01-13 19:07:17 PST --- Actually it shouldn't list anything because there's too much to list, e.g. structs, classes, modules, enums, etc. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 8742] Anonymous nested class derived from another nested class makes DMD crash
http://d.puremagic.com/issues/show_bug.cgi?id=8742 Walter Bright changed: What|Removed |Added Status|NEW |RESOLVED CC||bugzi...@digitalmars.com Resolution||FIXED -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 8366] Overriding const member function in conjunction with mutable overload causes a strange error
http://d.puremagic.com/issues/show_bug.cgi?id=8366 --- Comment #7 from Andrej Mitrovic 2013-01-13 17:57:08 PST --- Ah I'm sorry, I haven't seen your comment here: http://d.puremagic.com/issues/show_bug.cgi?id=8366#c3 I saw github-bugzi...@puremagic.com posting and thought it was done, but there are 3 pulls. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 8366] Overriding const member function in conjunction with mutable overload causes a strange error
http://d.puremagic.com/issues/show_bug.cgi?id=8366 --- Comment #6 from Kenji Hara 2013-01-13 17:45:09 PST --- (In reply to comment #5) > What's the state of this? I'm getting different error messages, such as: > > Deprecation: class test.C use of object.Object.opEquals(Object o) hidden by C > is deprecated. Use 'alias Object.opEquals opEquals;' to introduce base class > overload set. > > Is that ok? No. In 2.060 release, all Object class method signatures are reverted, so the original code is not correct in current. More generic case is: class B { bool foo(in Object o) const { return true; } } class C : B { bool foo(in Object o) { return true; } // line 10 override bool foo(in Object o) const { return false; } // line 12 } void main() { C mc = new C(); const C cc = new C(); B mb = mc; const B cb = cc; assert(mc.foo(null) == true); assert(cc.foo(null) == false); assert(mb.foo(null) == false); assert(cb.foo(null) == false); } This code should compile but outputs: --- test.d(10): Deprecation: overriding base class function without using override attribute is deprecated (test.C.foo overrides test.B.foo) test.d(12): Error: function test.C.foo multiple overrides of same function Mutable foo in class C is incorrectly overrides const foo in class B. That is the bug. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 8742] Anonymous nested class derived from another nested class makes DMD crash
http://d.puremagic.com/issues/show_bug.cgi?id=8742 --- Comment #5 from github-bugzi...@puremagic.com 2013-01-13 17:08:08 PST --- Commits pushed to master at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/2e20e68eae3473b514d7cfa0275afa704c6990df Fixes Issue 8742 - ICE on anon class derived from nested class. https://github.com/D-Programming-Language/dmd/commit/c55d4ef45989574dddaa32f2e174bf5c5d0da90b Merge pull request #1466 from AndrejMitrovic/Fix8742 Issue 8742 - ICE on anon class derived from nested class. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 9278] ICE todt.c:692 when float containing struct is defined after use
http://d.puremagic.com/issues/show_bug.cgi?id=9278 Walter Bright changed: What|Removed |Added Status|NEW |RESOLVED CC||bugzi...@digitalmars.com Resolution||FIXED -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 8368] std.algorithm.sort's template constraint is inadequate
http://d.puremagic.com/issues/show_bug.cgi?id=8368 Alex R�nne Petersen changed: What|Removed |Added Status|NEW |RESOLVED CC||a...@lycus.org Resolution||FIXED -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 9299] std.algorithm.minPos of const(int)[]
http://d.puremagic.com/issues/show_bug.cgi?id=9299 Alex R�nne Petersen changed: What|Removed |Added Status|NEW |RESOLVED CC||a...@lycus.org Resolution||FIXED -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 9299] std.algorithm.minPos of const(int)[]
http://d.puremagic.com/issues/show_bug.cgi?id=9299 --- Comment #4 from github-bugzi...@puremagic.com 2013-01-13 16:21:06 PST --- Commits pushed to master at https://github.com/D-Programming-Language/phobos https://github.com/D-Programming-Language/phobos/commit/5afbfac8c50d1cc1ef2d211d1f09ca3c47a2d67f Fixes issue 9299 - std.algorithm.minPos of const(int)[] https://github.com/D-Programming-Language/phobos/commit/bdc959933c56d664d59bbd2ff4c911f7e50c490a Merge pull request #1070 from monarchdodra/9299 Fixes issue 9299 - std.algorithm.minPos of const(int)[] -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 8368] std.algorithm.sort's template constraint is inadequate
http://d.puremagic.com/issues/show_bug.cgi?id=8368 --- Comment #2 from github-bugzi...@puremagic.com 2013-01-13 16:21:52 PST --- Commit pushed to master at https://github.com/D-Programming-Language/phobos https://github.com/D-Programming-Language/phobos/commit/2973b7ed2d50ca848628e7d5dcbbffbfa7f0b6ca Merge pull request #1048 from Poita/bug8368 Issue 8368 - Insufficient constraints for sort -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 9278] ICE todt.c:692 when float containing struct is defined after use
http://d.puremagic.com/issues/show_bug.cgi?id=9278 --- Comment #2 from github-bugzi...@puremagic.com 2013-01-13 16:21:10 PST --- Commits pushed to master at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/7ca2ea99e56aa59b604dbd68555e2d967beb18c0 fix Issue 9278 - ICE todt.c:692 when float containing struct is defined after use https://github.com/D-Programming-Language/dmd/commit/dabff86eb271c951e6bbf10923f575f30c3f2401 Merge pull request #1452 from 9rnsr/fix9278 Issue 9278 - ICE todt.c:692 when float containing struct is defined after use -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 9009] allow foreach without identifier
http://d.puremagic.com/issues/show_bug.cgi?id=9009 --- Comment #2 from monarchdo...@gmail.com 2013-01-13 13:56:29 PST --- (In reply to comment #1) > I think this is a worthy request, although you can use "_" as an unused > iteration variable you may end up having to invent unique names with 2 or more > nested foreach loops: > > foreach(_; 0 .. n ) { > foreach(__; 0 .. m) { > // statements > } > } > > Since foreach lowers to a for statement I think it should be possible to > implement the request. > > Can we get a pre-approval from Walter/Andrei? BTW, given the compiler error that is spit out by DMD upon writing // foreach ( ; 0 .. n ) // Error: basic type expected, not ; Error: no identifier for declarator int // I'd say it is either a bug that this isn't already supported anyway, or the compiler error should be re-written. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 9313] New: Provide dynamic array-dedicated "extend" function
http://d.puremagic.com/issues/show_bug.cgi?id=9313 Summary: Provide dynamic array-dedicated "extend" function Product: D Version: unspecified Platform: All OS/Version: All Status: NEW Severity: enhancement Priority: P2 Component: druntime AssignedTo: nob...@puremagic.com ReportedBy: monarchdo...@gmail.com --- Comment #0 from monarchdo...@gmail.com 2013-01-13 13:43:02 PST --- GC has an extend function (http://dlang.org/phobos/core_memory.html#.GC.extend). Problem: It does not play nice with dynamic arrays. If the user wants to have the same functionality for a dynamic array, he must keep in mind this pitfall: The value returned is NOT the size of the array, because some of the memory is taken up by the array implementation. This means using extend correctly is ripe with dangers. Here is some code illustrating the problems. // auto arr = new int[](1000); //The current slice //We want to extend for 2000 elements. //We have to overshoot... by 16 ? auto u = GC.extend(arr.ptr, 2000 * int.sizeof + 16, 3000 * int.sizeof + 16); if (u != 0) { //Sucess, we have extended but... //Wrong: This will access the array's implementation and fault. arr = arr.ptr[0 .. u / int.sizeof]; //Wrong: some of the extended data is reserved for the array implementation //Doing this will re-alocate: arr.length = u / int.sizeof; //Correct: Only the array know its own real capacity. //u serves no purpose other than checking for success, and //tricking users arr.length = arr.capacity; } // Having this kind of code in the user base is dangerous, and also relies on implementation details (16 bytes). It's really just accidents just waiting to happen, including in phobos, such as in Append (http://d.puremagic.com/issues/show_bug.cgi?id=9092) "extend" for arrays would solve the problem: // auto arr = new int[](1000); //The current slice auto u = arr.extend(2000, 3000); if (u != 0) arr.length = u; // Simple, clean, efficient and convenient, and *safe*. So I would like to request a "extend" function for dynamic arrays: // /** * Try to extend capacity for an array, without re-allocating. * * The return value is the new capacity of the array * (which may be larger than the requested capacity). */ pure nothrow size_t extend(T)(ref T[] arr, size_t minimum, size_t desired); // -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 648] DDoc: unable to document mixin statement
http://d.puremagic.com/issues/show_bug.cgi?id=648 Andrej Mitrovic changed: What|Removed |Added Keywords||pull CC||andrej.mitrov...@gmail.com Platform|x86 |All Version|1.014 |D1 & D2 AssignedTo|bugzi...@digitalmars.com|andrej.mitrov...@gmail.com --- Comment #8 from Andrej Mitrovic 2013-01-13 12:50:59 PST --- https://github.com/D-Programming-Language/dmd/pull/1480 This only implements template mixin statements in D2, and not string mixins. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 644] Ddoc: aliases used as parameters/fields revert to base type in generated docs.
http://d.puremagic.com/issues/show_bug.cgi?id=644 Andrej Mitrovic changed: What|Removed |Added Status|ASSIGNED|RESOLVED CC||andrej.mitrov...@gmail.com Resolution||WORKSFORME --- Comment #4 from Andrej Mitrovic 2013-01-13 11:48:10 PST --- Works in 1.076 and 2.061. D2 will additionally export aliases (See Issue 5446). -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 9312] with statement error message should say structs are allowed as expressions
http://d.puremagic.com/issues/show_bug.cgi?id=9312 --- Comment #1 from Andrej Mitrovic 2013-01-13 11:06:08 PST --- https://github.com/D-Programming-Language/dmd/pull/1479 -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 9312] New: with statement error message should say structs are allowed as expressions
http://d.puremagic.com/issues/show_bug.cgi?id=9312 Summary: with statement error message should say structs are allowed as expressions Product: D Version: D2 Platform: All OS/Version: All Status: NEW Keywords: diagnostic, pull Severity: normal Priority: P2 Component: DMD AssignedTo: andrej.mitrov...@gmail.com ReportedBy: andrej.mitrov...@gmail.com --- Comment #0 from Andrej Mitrovic 2013-01-13 11:03:22 PST --- void main() { with (1) { } } $ dmd test.d > Error: with expressions must be class objects, not 'int' Should be: Error: with expressions must be class or struct objects, not 'int' -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 8352] Wrong "__overloadset isn't a template" error
http://d.puremagic.com/issues/show_bug.cgi?id=8352 Andrej Mitrovic changed: What|Removed |Added CC||andrej.mitrov...@gmail.com See Also||http://d.puremagic.com/issu ||es/show_bug.cgi?id=6539 --- Comment #1 from Andrej Mitrovic 2013-01-13 10:41:07 PST --- Similar (maybe even caused by the same thing) Issue 6539. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 8384] std.conv.to should allow conversion between any pair of string/wstring/dstring/char*/wchar*/dchar*
http://d.puremagic.com/issues/show_bug.cgi?id=8384 --- Comment #22 from Andrej Mitrovic 2013-01-13 10:35:51 PST --- (In reply to comment #21) > *** Issue 6157 has been marked as a duplicate of this issue. *** FYI: http://d.puremagic.com/issues/show_bug.cgi?id=6157 has an experimental implementation in the attachment (for conv.to), but I'm not an expert on things unicode. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 8366] Overriding const member function in conjunction with mutable overload causes a strange error
http://d.puremagic.com/issues/show_bug.cgi?id=8366 Andrej Mitrovic changed: What|Removed |Added CC||andrej.mitrov...@gmail.com --- Comment #5 from Andrej Mitrovic 2013-01-13 10:39:23 PST --- What's the state of this? I'm getting different error messages, such as: Deprecation: class test.C use of object.Object.opEquals(Object o) hidden by C is deprecated. Use 'alias Object.opEquals opEquals;' to introduce base class overload set. Is that ok? -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 8384] std.conv.to should allow conversion between any pair of string/wstring/dstring/char*/wchar*/dchar*
http://d.puremagic.com/issues/show_bug.cgi?id=8384 Andrej Mitrovic changed: What|Removed |Added CC||andrej.mitrov...@gmail.com --- Comment #21 from Andrej Mitrovic 2013-01-13 10:34:43 PST --- *** Issue 6157 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 6157] to!string should work for various pointer types
http://d.puremagic.com/issues/show_bug.cgi?id=6157 Andrej Mitrovic changed: What|Removed |Added Status|NEW |RESOLVED Resolution||DUPLICATE --- Comment #5 from Andrej Mitrovic 2013-01-13 10:34:43 PST --- *** This issue has been marked as a duplicate of issue 8384 *** -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 5622] [qtd] Static members imported with "alias this" are inaccessible
http://d.puremagic.com/issues/show_bug.cgi?id=5622 Andrej Mitrovic changed: What|Removed |Added Status|NEW |RESOLVED Resolution||WORKSFORME -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 7236] Protected class members in different file inaccessible
http://d.puremagic.com/issues/show_bug.cgi?id=7236 Andrej Mitrovic changed: What|Removed |Added Keywords||pull CC||andrej.mitrov...@gmail.com AssignedTo|nob...@puremagic.com|andrej.mitrov...@gmail.com --- Comment #5 from Andrej Mitrovic 2013-01-13 09:58:51 PST --- https://github.com/D-Programming-Language/dmd/pull/1478 -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 7238] Windows installer doesn't install dmd 2.057
http://d.puremagic.com/issues/show_bug.cgi?id=7238 --- Comment #5 from f-morozov 2013-01-13 09:43:35 PST --- DMD2 install works fine with 2.061, but now curl fails to download. Generally, all the archives from http://ftp.digitalmars.com/ are downloaded correctly and those from https://github.com/downloads/D-Programming-Language/dmd/ are not. All the links work fine when used outside of installer. Another thing with urls: Empire 2.01 source and DMD2 compatible cURL 7.24.0 on the download page lead to 404 pages. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 7238] Windows installer doesn't install dmd 2.057
http://d.puremagic.com/issues/show_bug.cgi?id=7238 --- Comment #4 from Andrej Mitrovic 2013-01-13 09:12:24 PST --- I think it could have just been temporary server problems, but the real issue might be that the installer doesn't notify the user of a failed download? If someone knows NSIS you can hack on it here: https://github.com/D-Programming-Language/installer/tree/master/windows -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 4669] Unit tests do not work in libraries compiled by dmd with -lib
http://d.puremagic.com/issues/show_bug.cgi?id=4669 --- Comment #5 from Andrej Mitrovic 2013-01-13 09:02:59 PST --- The cause is this code in 'FuncDeclaration::toObjFile': if (multiobj && !isStaticDtorDeclaration() && !isStaticCtorDeclaration()) { obj_append(this); return; } 'multiobj' is true when -lib is passed, this unittest is then deferred to be generated later (and it *is* generated later), however it never seems to be run. Anyway a qujick fix is to add a check for lib generation: if (multiobj && !global.params.lib && !isStaticDtorDeclaration() && !isStaticCtorDeclaration()) { } This makes the unittest work, but I don't know if that's a proper fix. Any backend experts know more? -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 9311] shared library file extension incorrectly modified
http://d.puremagic.com/issues/show_bug.cgi?id=9311 Andrej Mitrovic changed: What|Removed |Added CC||andrej.mitrov...@gmail.com --- Comment #1 from Andrej Mitrovic 2013-01-13 08:15:11 PST --- My guess is this is to blame in dmars.c: // None of that a.out stuff. Use explicit exe file name, or // generate one from name of first source file. global.params.exefile = FileName::forceExt(global.params.exefile, global.dll_ext)->toChars(); If the only thing wanted is to replace "a.out" with "a.so", then `forceExt` should check the extension before attempting to replace it. @Walter what's your take? -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 9098] Error with ddoc: octal digit expected
http://d.puremagic.com/issues/show_bug.cgi?id=9098 --- Comment #3 from Andrej Mitrovic 2013-01-13 07:58:02 PST --- (In reply to comment #2) > Why on earth aren't the errors gagged while processing code samples? Because it allows us to catch bugs like these before the user has to face disappointment when he finds out the code doesn't compile. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 9112] Uniform construction for built-in types
http://d.puremagic.com/issues/show_bug.cgi?id=9112 --- Comment #21 from Andrej Mitrovic 2013-01-13 07:08:11 PST --- I just think there's a good chance that the feature could bite us in generic code and leave us spending a lot of time debugging. Here's a somewhat contrived example: float sqr(int val) { return val * val; } template Call(T...) { auto Call(int arg) { alias T[0] Func; return Func(arg); } } template GetFunc() { alias int GetFunc; } void main() { alias Call!(GetFunc!()) square; square(2); // actually calls int(2) } test.d(13): Error: function expected before (), not int of type int With the pull this becomes valid code. Maybe it's obvious in this case, but when you combine tuples, mixins, etc, it could be hard to notice what's wrong. The way I see it, the more the line between functions and types becomes blurred the harder it can be to track bugs. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 9293] enum struct with StructInitializer reports weird error
http://d.puremagic.com/issues/show_bug.cgi?id=9293 Walter Bright changed: What|Removed |Added Status|NEW |RESOLVED CC||bugzi...@digitalmars.com Resolution||FIXED -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 9091] Using __traits(getMember) on template argument fails inside member function
http://d.puremagic.com/issues/show_bug.cgi?id=9091 --- Comment #7 from Manu 2013-01-13 00:54:56 PST --- (In reply to comment #6) > Fixed? Kenji was working on these, the prototypes he gave me worked for me, I'm not sure if it was accepted/merged though. @Kenji? -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 9008] Another forward referencing bug
http://d.puremagic.com/issues/show_bug.cgi?id=9008 --- Comment #8 from Manu 2013-01-13 00:52:18 PST --- (In reply to comment #7) > Is this fixed now? Try my code from the top. If it compiles without error, then yes. Sorry, I'm not near any computers for a few weeks. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 9293] enum struct with StructInitializer reports weird error
http://d.puremagic.com/issues/show_bug.cgi?id=9293 --- Comment #2 from github-bugzi...@puremagic.com 2013-01-13 00:41:12 PST --- Commits pushed to master at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/895f19174dffc9088c0516f2c8cc47f8f4c589fa fix Issue 9293 - enum struct with StructInitializer reports weird error `VarDeclaration::getConstInitializer` should return an actual expression, even if init is not an `ExpInitializer`. https://github.com/D-Programming-Language/dmd/commit/7f9d6c8aa9d7c7fc2d798c5e75696ef3a815192c Merge pull request #1464 from 9rnsr/fix9293 Issue 9293 - enum struct with StructInitializer reports weird error -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 9309] Regression (2.061): -O -release generates wrong code
http://d.puremagic.com/issues/show_bug.cgi?id=9309 Walter Bright changed: What|Removed |Added Status|NEW |RESOLVED CC||bugzi...@digitalmars.com Resolution||FIXED -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 9309] Regression (2.061): -O -release generates wrong code
http://d.puremagic.com/issues/show_bug.cgi?id=9309 --- Comment #6 from github-bugzi...@puremagic.com 2013-01-12 23:57:15 PST --- Commits pushed to master at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/a3373759c41931171a5fd023ab7df8e9f1689879 fix Issue 9309 - Regression (2.061): -O -release generates wrong code In current, all nested functions should be weak purity at most. https://github.com/D-Programming-Language/dmd/commit/7686d93349861f83e7c8adc1e0fad0f36f932e64 Merge pull request #1474 from 9rnsr/fix9309 Issue 9309 - Regression (2.061): -O -release generates wrong code -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---