[Issue 3996] New: Algebraic with struct crashes compiler
http://d.puremagic.com/issues/show_bug.cgi?id=3996 Summary: Algebraic with struct crashes compiler Product: D Version: 2.041 Platform: x86_64 OS/Version: Mac OS X Status: NEW Severity: major Priority: P2 Component: DMD AssignedTo: nob...@puremagic.com ReportedBy: michel.for...@michelf.com --- Comment #0 from Michel Fortin michel.for...@michelf.com 2010-03-21 09:51:37 EDT --- DMD 2.041 and 2.042 on Mac OS X crash with this input. It was working a few versions before, but I don't know exactly at which point it broke. import std.variant; struct A {} alias Algebraic!(A) sts; -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 3997] New: comparing AAs doesn't work: _aaEqual missing
http://d.puremagic.com/issues/show_bug.cgi?id=3997 Summary: comparing AAs doesn't work: _aaEqual missing Product: D Version: 1.057 Platform: Other OS/Version: All Status: NEW Severity: normal Priority: P2 Component: Phobos AssignedTo: nob...@puremagic.com ReportedBy: nfx...@gmail.com --- Comment #0 from nfx...@gmail.com 2010-03-21 06:58:30 PDT --- cat aa.d void main() { int[int] a; bool x = a == a; } dmd aa.d aa.o: In function `_Dmain': aa.d:(.text._Dmain+0xe): undefined reference to `_aaEqual' collect2: ld returned 1 exit status --- errorlevel 1 -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 3854] Error on static initialization of arrays with trailing comma.
http://d.puremagic.com/issues/show_bug.cgi?id=3854 Iain Buclaw ibuc...@ubuntu.com changed: What|Removed |Added CC||ibuc...@ubuntu.com --- Comment #4 from Iain Buclaw ibuc...@ubuntu.com 2010-03-21 12:04:34 PDT --- Paradoxically, the absent of a trailing comma can trigger this error too. int[][][] a = [[ [1,2],[3,4], ]]; // Error Whereas: int[][][] a = [[ [1,2],[3,4], ],]; // OK Seems like a bug to me, and the patch in bug 3716 resolves this. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 3998] New: BasicType2 rule shouldn't have slice syntax
http://d.puremagic.com/issues/show_bug.cgi?id=3998 Summary: BasicType2 rule shouldn't have slice syntax Product: D Version: 2.041 Platform: All URL: http://digitalmars.com/d/2.0/declaration.html OS/Version: All Status: NEW Keywords: spec Severity: normal Priority: P2 Component: www.digitalmars.com AssignedTo: nob...@puremagic.com ReportedBy: jlqu...@optonline.net --- Comment #0 from Jerry Quinn jlqu...@optonline.net 2010-03-21 21:13:54 PDT --- It doesn't make sense to have array slice be part of the BasicType2 rule. This rule is for type constructs and array slices only make sense in expressions. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 3998] BasicType2 rule shouldn't have slice syntax
http://d.puremagic.com/issues/show_bug.cgi?id=3998 Ellery Newcomer ellery-newco...@utulsa.edu changed: What|Removed |Added CC||ellery-newco...@utulsa.edu --- Comment #1 from Ellery Newcomer ellery-newco...@utulsa.edu 2010-03-21 22:31:02 PDT --- (In reply to comment #0) It doesn't make sense to have array slice be part of the BasicType2 rule. This rule is for type constructs and array slices only make sense in expressions. They aren't array slices. They're tuple slices, eg: template T(E...){ alias E T; } void main(){ alias T!(char,int,float) K; alias K[1..$] J; // (int, float) } -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---