[Issue 2816] Sudden-death static assert is not very useful
http://d.puremagic.com/issues/show_bug.cgi?id=2816 Leandro Lucarella llu...@gmail.com changed: What|Removed |Added CC||llu...@gmail.com --- Comment #12 from Leandro Lucarella llu...@gmail.com 2009-12-15 07:14:58 PST --- http://www.dsource.org/projects/dmd/changeset/294 -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 3579] Broken Links to Compiler
http://d.puremagic.com/issues/show_bug.cgi?id=3579 Jesse Phillips jesse.k.phillip...@gmail.com changed: What|Removed |Added Status|RESOLVED|REOPENED Resolution|FIXED | --- Comment #2 from Jesse Phillips jesse.k.phillip...@gmail.com 2009-12-15 07:17:58 PST --- Unless there has been a delay in updating the website, this has not been fixed. This is on the standard homepage http://www.digitalmars.com/d/ and in the section below: There are currently four implementations: 1. Digital Mars dmd for Windows, x86 Linux, Mac OSX 10.5, and x86 FreeBSD for D versions 1 and 2. 2. LLVM D Compiler ldc for D version 1. 3. Gnu D compiler gdc for several platforms, including Windows and Mac OS X for D versions 1.030 and 2.014. 4. D.NET compiler alpha for .NET for D version 2. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 3580] Update docs s/invariant/immutable/
http://d.puremagic.com/issues/show_bug.cgi?id=3580 Jesse Phillips jesse.k.phillip...@gmail.com changed: What|Removed |Added Status|RESOLVED|REOPENED Resolution|FIXED | --- Comment #3 from Jesse Phillips jesse.k.phillip...@gmail.com 2009-12-15 13:05:57 PST --- Found another. Invariant appears on this page a number of times. http://digitalmars.com/d/2.0/const-faq.html -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 3579] Broken Links to Compiler
http://d.puremagic.com/issues/show_bug.cgi?id=3579 Walter Bright bugzi...@digitalmars.com changed: What|Removed |Added Status|REOPENED|RESOLVED Resolution||FIXED --- Comment #3 from Walter Bright bugzi...@digitalmars.com 2009-12-15 13:19:42 PST --- Fixed again. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 3580] Update docs s/invariant/immutable/
http://d.puremagic.com/issues/show_bug.cgi?id=3580 Walter Bright bugzi...@digitalmars.com changed: What|Removed |Added Status|REOPENED|RESOLVED Resolution||FIXED --- Comment #4 from Walter Bright bugzi...@digitalmars.com 2009-12-15 13:23:22 PST --- Fixed again. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 3617] New: CTFE: wrong code for if(x) where x is int or smaller
http://d.puremagic.com/issues/show_bug.cgi?id=3617 Summary: CTFE: wrong code for if(x) where x is int or smaller Product: D Version: 1.051 Platform: Other OS/Version: Windows Status: NEW Keywords: patch, wrong-code Severity: normal Priority: P2 Component: DMD AssignedTo: nob...@puremagic.com ReportedBy: clugd...@yahoo.com.au --- Comment #0 from Don clugd...@yahoo.com.au 2009-12-15 14:12:33 PST --- Applies to while(), if(), assert(), etc. Also happens if you have (say) uint u = 0x8000_; u=1; -- since this sets the high bit of the value to 1. TEST CASE: int foo() { int u = cast(int)(0x1__L); while (u) { if (u) { assert(u!=0); } assert(u!=0); } return 2; } static assert(foo()==2); PATCH: expression.c, around line 1575. Need to convert the value to an appropriate sized integer. int IntegerExp::isBool(int result) { +toInteger(); return result ? value != 0 : value == 0; } -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 869] Cast of a parenthesized expression combined with !is is mistaken for a C style cast and a template specialization
http://d.puremagic.com/issues/show_bug.cgi?id=869 Don clugd...@yahoo.com.au changed: What|Removed |Added Status|NEW |RESOLVED CC||clugd...@yahoo.com.au Resolution||FIXED --- Comment #3 from Don clugd...@yahoo.com.au 2009-12-15 14:22:17 PST --- This was fixed between 1.030 and 1.036. No spec change is required (precedence is implied in the BNF descriptions). -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 3618] New: Can't call constructor on immutable/const struct
http://d.puremagic.com/issues/show_bug.cgi?id=3618 Summary: Can't call constructor on immutable/const struct Product: D Version: 2.036 Platform: x86 OS/Version: Windows Status: NEW Severity: normal Priority: P2 Component: DMD AssignedTo: nob...@puremagic.com ReportedBy: tomeks...@gmail.com --- Comment #0 from Tomasz SowiĆski tomeks...@gmail.com 2009-12-15 16:08:25 PST --- I have problems when using an explicit constructor with structs. It manifests itself when creating a stack variable. immutable struct Strukt { this(int pole) { this.pole = pole; } int pole; } void main() { auto nowy = new Strukt(6); // OK auto s = Strukt(8); // Error: constructor test.Strukt.this (int pole) is not callable using argument types (int) immutable } Same story for const. Side note: If you take off immutable/const, it compiles. Looks similar to Bug 2610. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 3580] Update docs s/invariant/immutable/
http://d.puremagic.com/issues/show_bug.cgi?id=3580 --- Comment #5 from Leandro Lucarella llu...@gmail.com 2009-12-15 16:49:17 PST --- http://www.dsource.org/projects/phobos/changeset/1386 -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 3514] opApply should be the first-choice foreach iteration method.
http://d.puremagic.com/issues/show_bug.cgi?id=3514 --- Comment #8 from Leandro Lucarella llu...@gmail.com 2009-12-15 16:52:04 PST --- http://www.dsource.org/projects/dmd/changeset/295 -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 3617] CTFE: wrong code for if(x) where x is int or smaller
http://d.puremagic.com/issues/show_bug.cgi?id=3617 Leandro Lucarella llu...@gmail.com changed: What|Removed |Added CC||llu...@gmail.com --- Comment #1 from Leandro Lucarella llu...@gmail.com 2009-12-15 16:50:30 PST --- http://www.dsource.org/projects/dmd/changeset/296 -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---