[Issue 3632] modify float is float to do a bitwise compare
http://d.puremagic.com/issues/show_bug.cgi?id=3632 yebblies yebbl...@gmail.com changed: What|Removed |Added Keywords||patch CC||yebbl...@gmail.com --- Comment #2 from yebblies yebbl...@gmail.com 2011-06-14 23:50:06 PDT --- Possible implementation. https://github.com/D-Programming-Language/dmd/pull/126 -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 6159] New: [CTFE] ICE(constfold.c) on 'is' with structs
http://d.puremagic.com/issues/show_bug.cgi?id=6159 Summary: [CTFE] ICE(constfold.c) on 'is' with structs Product: D Version: D1 D2 Platform: All OS/Version: All Status: NEW Keywords: ice-on-valid-code Severity: normal Priority: P2 Component: DMD AssignedTo: nob...@puremagic.com ReportedBy: yebbl...@gmail.com --- Comment #0 from yebblies yebbl...@gmail.com 2011-06-14 23:56:56 PDT --- bool bug() { struct A {} return A.init is A.init; } void main() { enum b = bug(); } Crashes dmd1.068 dmd2.053 -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 3562] Static Array ops create duplicate method definitions
http://d.puremagic.com/issues/show_bug.cgi?id=3562 yebblies yebbl...@gmail.com changed: What|Removed |Added Status|NEW |RESOLVED CC||yebbl...@gmail.com Resolution||DUPLICATE --- Comment #2 from yebblies yebbl...@gmail.com 2011-06-15 00:11:35 PDT --- *** This issue has been marked as a duplicate of issue 5592 *** -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 5592] Previous definition different: __arrayExpSliceMulSliceAddass_d
http://d.puremagic.com/issues/show_bug.cgi?id=5592 yebblies yebbl...@gmail.com changed: What|Removed |Added CC||sandf...@jhu.edu --- Comment #2 from yebblies yebbl...@gmail.com 2011-06-15 00:11:35 PDT --- *** Issue 3562 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 4482] Missing warnings when not compiling with -w
http://d.puremagic.com/issues/show_bug.cgi?id=4482 yebblies yebbl...@gmail.com changed: What|Removed |Added Status|NEW |RESOLVED CC||yebbl...@gmail.com Resolution||INVALID --- Comment #1 from yebblies yebbl...@gmail.com 2011-06-15 00:47:19 PDT --- This is not how it's defined to work in D. Warnings will only be printed if using the -w or -wi compiler switches. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 6158] winsamp and dhry samples need an update
http://d.puremagic.com/issues/show_bug.cgi?id=6158 Walter Bright bugzi...@digitalmars.com changed: What|Removed |Added CC||bugzi...@digitalmars.com --- Comment #2 from Walter Bright bugzi...@digitalmars.com 2011-06-15 00:55:14 PDT --- The samples are now on github! https://github.com/D-Programming-Language/dmd/tree/master/samples So now pull requests can be done. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 6159] [CTFE] ICE(constfold.c) on 'is' with structs
http://d.puremagic.com/issues/show_bug.cgi?id=6159 kenn...@gmail.com changed: What|Removed |Added CC||kenn...@gmail.com --- Comment #1 from kenn...@gmail.com 2011-06-15 03:28:24 PDT --- Simiarly, array literals cannot be 'is'-ed either. -- static assert({ return [1] is [1]; }()); -- Assertion failed: (0), function Identity, file constfold.c, line 871. Abort trap -- -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 6160] New: std.conv.to!real/double/float: Ignore _ to match the rest of D
http://d.puremagic.com/issues/show_bug.cgi?id=6160 Summary: std.conv.to!real/double/float: Ignore _ to match the rest of D Product: D Version: D2 Platform: All OS/Version: All Status: NEW Severity: enhancement Priority: P2 Component: Phobos AssignedTo: nob...@puremagic.com ReportedBy: timon.g...@gmx.ch --- Comment #0 from timon.g...@gmx.ch 2011-06-15 04:55:53 PDT --- writeln(1000_000_000e50L); // 1e59 writeln(to!real(1000_000_000_e50)); // std.conv.ConvException@std/conv.d(37): std.conv(758): Can't convert value `_000_000e50' of type const(char)[] to type real 'to' should be changed to ignore embedded _, so that it is able to convert all valid D literals to their respective values. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 4557] Overriding static functions inherited from interfaces
http://d.puremagic.com/issues/show_bug.cgi?id=4557 yebblies yebbl...@gmail.com changed: What|Removed |Added Status|NEW |RESOLVED CC||yebbl...@gmail.com Resolution||INVALID --- Comment #1 from yebblies yebbl...@gmail.com 2011-06-15 07:45:33 PDT --- There is no error, as foo is _not_ overriding anything. If you add the override keyword it makes this very clear: Error: function testx.C.foo does not override any function -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 2606] string literals unnecessarily prone to wide conversion
http://d.puremagic.com/issues/show_bug.cgi?id=2606 yebblies yebbl...@gmail.com changed: What|Removed |Added Status|NEW |RESOLVED CC||yebbl...@gmail.com Resolution||DUPLICATE --- Comment #2 from yebblies yebbl...@gmail.com 2011-06-15 07:51:48 PDT --- *** This issue has been marked as a duplicate of issue 2367 *** -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 4592] Can't overload over strings
http://d.puremagic.com/issues/show_bug.cgi?id=4592 yebblies yebbl...@gmail.com changed: What|Removed |Added Status|NEW |RESOLVED CC||yebbl...@gmail.com Resolution||DUPLICATE --- Comment #1 from yebblies yebbl...@gmail.com 2011-06-15 07:52:05 PDT --- *** This issue has been marked as a duplicate of issue 2367 *** -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 2367] Overloading error
http://d.puremagic.com/issues/show_bug.cgi?id=2367 yebblies yebbl...@gmail.com changed: What|Removed |Added CC||yebbl...@gmail.com --- Comment #5 from yebblies yebbl...@gmail.com 2011-06-15 07:51:41 PDT --- From Andrei's comment on bug 2606 void f(const(char)[] s) {} void f(const(dchar)[] s) {} void main() { f(abc); auto a = abc; f(a); } -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 2367] Overloading error
http://d.puremagic.com/issues/show_bug.cgi?id=2367 yebblies yebbl...@gmail.com changed: What|Removed |Added CC||dfj1es...@sneakemail.com --- Comment #7 from yebblies yebbl...@gmail.com 2011-06-15 07:52:05 PDT --- *** Issue 4592 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 2367] Overloading error
http://d.puremagic.com/issues/show_bug.cgi?id=2367 --- Comment #6 from yebblies yebbl...@gmail.com 2011-06-15 07:51:48 PDT --- *** Issue 2606 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 4530] Tidier function types
http://d.puremagic.com/issues/show_bug.cgi?id=4530 yebblies yebbl...@gmail.com changed: What|Removed |Added Status|NEW |RESOLVED CC||yebbl...@gmail.com Resolution||INVALID --- Comment #6 from yebblies yebbl...@gmail.com 2011-06-15 07:59:44 PDT --- In the original comment, there is no 'ugly and error-prone function literal'. There is a nested function declaration with no body. import std.stdio; void main() { string a(); pragma(msg, typeof(a)); } Prints: string delegate() -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 4536] Typetuples (T...) should have an .init member
http://d.puremagic.com/issues/show_bug.cgi?id=4536 yebblies yebbl...@gmail.com changed: What|Removed |Added CC||yebbl...@gmail.com --- Comment #2 from yebblies yebbl...@gmail.com 2011-06-15 08:10:41 PDT --- What should .init do for a TypeTuple like this? TypeTuple!(3, int).init = ? -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 4735] class that implements interface can override a static method
http://d.puremagic.com/issues/show_bug.cgi?id=4735 yebblies yebbl...@gmail.com changed: What|Removed |Added Status|NEW |RESOLVED CC||yebbl...@gmail.com Resolution||INVALID --- Comment #1 from yebblies yebbl...@gmail.com 2011-06-15 08:17:18 PDT --- There is no error, as foo is _not_ overriding anything. If you add the override keyword it makes this very clear: Error: function testx.C.foo does not override any function -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 4325] invariant syntax isn't strict
http://d.puremagic.com/issues/show_bug.cgi?id=4325 yebblies yebbl...@gmail.com changed: What|Removed |Added Status|NEW |RESOLVED CC||yebbl...@gmail.com Resolution||INVALID --- Comment #2 from yebblies yebbl...@gmail.com 2011-06-15 08:30:26 PDT --- This has nothing to do with class invariants. This is caused by invariant currently being an alias for immutable. Change invariant to immutable in the examples and it will make sense. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 4889] Declarator in if statement allows name shadowing
http://d.puremagic.com/issues/show_bug.cgi?id=4889 yebblies yebbl...@gmail.com changed: What|Removed |Added CC||yebbl...@gmail.com Version|D2 |D1 Severity|enhancement |normal --- Comment #2 from yebblies yebbl...@gmail.com 2011-06-15 08:45:40 PDT --- Errors in D2 (2.053) but still allowed in D1 (1.068) -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 6158] winsamp and dhry samples need an update
http://d.puremagic.com/issues/show_bug.cgi?id=6158 --- Comment #3 from Andrej Mitrovic andrej.mitrov...@gmail.com 2011-06-15 08:58:03 PDT --- Yay, thanks a bunch!! I'll make a pull later. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 4325] invariant syntax isn't strict
http://d.puremagic.com/issues/show_bug.cgi?id=4325 --- Comment #3 from bearophile_h...@eml.cc 2011-06-15 09:51:04 PDT --- (In reply to comment #2) This has nothing to do with class invariants. This is caused by invariant currently being an alias for immutable. Change invariant to immutable in the examples and it will make sense. I see, thank you. Do you want me to open a new enhancement request where I ask for the removal of this alias, or do you prefer me to reopen and rename this bug report? -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 3780] getopt improvements by Igor Lesik
http://d.puremagic.com/issues/show_bug.cgi?id=3780 jens.k.muel...@gmx.de changed: What|Removed |Added CC||jens.k.muel...@gmx.de --- Comment #3 from jens.k.muel...@gmx.de 2011-06-15 10:30:26 PDT --- Igor, I already have the code in my local repository. I will create pull request if you don't mind and make you the author of that commit. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 4325] invariant syntax isn't strict
http://d.puremagic.com/issues/show_bug.cgi?id=4325 --- Comment #4 from yebblies yebbl...@gmail.com 2011-06-15 11:36:37 PDT --- I see, thank you. Do you want me to open a new enhancement request where I ask for the removal of this alias, or do you prefer me to reopen and rename this bug report? A new report. Changing the focus of old reports makes it more difficult to process them. (for me at least) -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 5186] typeof({return 0; }()) works in alias declaration, not as variable type
http://d.puremagic.com/issues/show_bug.cgi?id=5186 yebblies yebbl...@gmail.com changed: What|Removed |Added Status|NEW |RESOLVED CC||yebbl...@gmail.com Resolution||DUPLICATE --- Comment #1 from yebblies yebbl...@gmail.com 2011-06-15 11:48:32 PDT --- *** This issue has been marked as a duplicate of issue 4633 *** -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 4633] typeof({return 1;}()) declaration fails if inside main
http://d.puremagic.com/issues/show_bug.cgi?id=4633 yebblies yebbl...@gmail.com changed: What|Removed |Added CC||simen.kja...@gmail.com --- Comment #1 from yebblies yebbl...@gmail.com 2011-06-15 11:48:33 PDT --- *** Issue 5186 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 5192] Pure function cannot access static __dollar
http://d.puremagic.com/issues/show_bug.cgi?id=5192 yebblies yebbl...@gmail.com changed: What|Removed |Added Status|NEW |RESOLVED CC||yebbl...@gmail.com Resolution||FIXED --- Comment #2 from yebblies yebbl...@gmail.com 2011-06-15 11:53:25 PDT --- Works dmd 2.053 -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 6161] New: iasm opcode family Jcc use absolute address instead of relative for functions
http://d.puremagic.com/issues/show_bug.cgi?id=6161 Summary: iasm opcode family Jcc use absolute address instead of relative for functions Product: D Version: D2 Platform: x86_64 OS/Version: Linux Status: NEW Severity: normal Priority: P2 Component: DMD AssignedTo: nob...@puremagic.com ReportedBy: hugh...@gmail.com --- Comment #0 from Shahid hugh...@gmail.com 2011-06-15 12:03:23 PDT --- I would like some clarification for the following code: //- module test; void main() { asm { naked; jz Target; }} void Target() { asm { naked; inc EAX; ret; }} //- Looking at objdump -drM intel test: 4177fc:0f 84 04 78 41 00je 82f006 _end+0x1f7966 The absolute value is being used instead of the relative address, I believe the correct output should be: 4177fc:0f 84 02 00 00 00je 417804 _D4test6TargetFZi -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 6154] std.math.abs on std.complex numbers too
http://d.puremagic.com/issues/show_bug.cgi?id=6154 --- Comment #5 from bearophile_h...@eml.cc 2011-06-15 13:04:17 PDT --- (In reply to comment #4) Putting the free function as std.complex.abs works too. OK. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 6162] New: Remove invariant as alias for immutable
http://d.puremagic.com/issues/show_bug.cgi?id=6162 Summary: Remove invariant as alias for immutable Product: D Version: D2 Platform: All OS/Version: All Status: NEW Severity: enhancement Priority: P2 Component: DMD AssignedTo: nob...@puremagic.com ReportedBy: bearophile_h...@eml.cc --- Comment #0 from bearophile_h...@eml.cc 2011-06-15 13:37:33 PDT --- In DMD 2.053 this code compiles with no errors, because invariant is an alias for immutable still: void main() { invariant x = 10; } But I suggest to remove this alias soon because it causes me some troubles regarding Class/struct/enum invariants. DMD v2.053 compiles this with no errors: struct Foo { invariant {} } struct Bar { invariant } class CFoo { invariant {} } class CBar { invariant } void main() {} See bug 4325 for more info. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 4735] class that implements interface can override a static method
http://d.puremagic.com/issues/show_bug.cgi?id=4735 bearophile_h...@eml.cc changed: What|Removed |Added CC||bearophile_h...@eml.cc --- Comment #2 from bearophile_h...@eml.cc 2011-06-15 13:39:52 PDT --- (In reply to comment #1) There is no error, as foo is _not_ overriding anything. So what's going on here? -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 6163] New: std.bigint: x.opBinary(y) is not an lvalue
http://d.puremagic.com/issues/show_bug.cgi?id=6163 Summary: std.bigint: x.opBinary(y) is not an lvalue 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 2011-06-15 17:39:30 PDT --- DMD 2.053: import std.bigint; void main() { BigInt x = 20; BigInt y = 1; bool result = (x == (x * y)); } It gives: temp.d(5): Error: x.opBinary(y) is not an lvalue -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 2544] implicit const casting rules allow violations of const-safety
http://d.puremagic.com/issues/show_bug.cgi?id=2544 yebblies yebbl...@gmail.com changed: What|Removed |Added Status|REOPENED|RESOLVED CC||yebbl...@gmail.com Resolution||DUPLICATE --- Comment #13 from yebblies yebbl...@gmail.com 2011-06-15 20:22:49 PDT --- As far as I can tell, all of these cases are fixed by my patch to 4251. It uses references as the highest indirection instead of arrays, but exposes the same bug. *** This issue has been marked as a duplicate of issue 4251 *** -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 4251] Hole in the const system: immutable values can be overwritten (const(T) is appendable to const(T)[])
http://d.puremagic.com/issues/show_bug.cgi?id=4251 yebblies yebbl...@gmail.com changed: What|Removed |Added CC||la...@virginia.edu --- Comment #4 from yebblies yebbl...@gmail.com 2011-06-15 20:22:49 PDT --- *** Issue 2544 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 5235] new dynamic array results in incorrect size
http://d.puremagic.com/issues/show_bug.cgi?id=5235 yebblies yebbl...@gmail.com changed: What|Removed |Added Status|NEW |RESOLVED CC||yebbl...@gmail.com Resolution||FIXED --- Comment #1 from yebblies yebbl...@gmail.com 2011-06-15 20:28:22 PDT --- Works dmd 1.068 2.053 Prints: [[0, 0, 0, 0, 0], [0, 0, 0, 0, 0]] -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 3449] const and invariant struct members do not behave according to spec
http://d.puremagic.com/issues/show_bug.cgi?id=3449 yebblies yebbl...@gmail.com changed: What|Removed |Added Keywords||patch CC||yebbl...@gmail.com --- Comment #6 from yebblies yebbl...@gmail.com 2011-06-15 20:33:41 PDT --- https://github.com/D-Programming-Language/dmd/pull/93 -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 3799] isStaticFunction trait evaluates to true for non-static nested functions
http://d.puremagic.com/issues/show_bug.cgi?id=3799 yebblies yebbl...@gmail.com changed: What|Removed |Added Keywords||patch CC||yebbl...@gmail.com --- Comment #1 from yebblies yebbl...@gmail.com 2011-06-15 22:36:49 PDT --- https://github.com/D-Programming-Language/dmd/pull/130 -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 5403] foreach requires front to be a function in a range
http://d.puremagic.com/issues/show_bug.cgi?id=5403 yebblies yebbl...@gmail.com changed: What|Removed |Added CC||2kor...@gmail.com --- Comment #1 from yebblies yebbl...@gmail.com 2011-06-15 22:52:08 PDT --- *** Issue 3295 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 3295] range's front property can not be an enum
http://d.puremagic.com/issues/show_bug.cgi?id=3295 yebblies yebbl...@gmail.com changed: What|Removed |Added Status|NEW |RESOLVED CC||yebbl...@gmail.com Resolution||DUPLICATE --- Comment #1 from yebblies yebbl...@gmail.com 2011-06-15 22:52:08 PDT --- *** This issue has been marked as a duplicate of issue 5403 *** -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---