[Issue 6942] New: lazy parameters can break purity

2011-11-13 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=6942 Summary: lazy parameters can break purity Product: D Version: D2 Platform: All OS/Version: All Status: NEW Keywords: accepts-invalid Severity: normal

[Issue 6942] lazy parameters can break purity

2011-11-13 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=6942 --- Comment #1 from timon.g...@gmx.ch 2011-11-13 04:54:18 PST --- note that int foo(int delegate() x) pure{ return x()+x(); } void main(){ auto a=foo({return writeln(impure),1;}); } fails with Error: pure function 'foo' cannot call

[Issue 6943] New: Internal error: e2ir.c 4728 when doing get() on AA literal

2011-11-13 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=6943 Summary: Internal error: e2ir.c 4728 when doing get() on AA literal Product: D Version: D2 Platform: All OS/Version: All Status: NEW Severity: major

[Issue 6330] Cannot disable assignment to a struct.

2011-11-13 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=6330 Kenji Hara k.hara...@gmail.com changed: What|Removed |Added Keywords||patch

[Issue 5409] Disallow (!x y)

2011-11-13 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=5409 --- Comment #5 from bearophile_h...@eml.cc 2011-11-13 09:57:46 PST --- I think one of those bugs are present in DMD sources too: http://article.gmane.org/gmane.comp.lang.d.dmd.devel/2648 dmd\src\backend\cgreg.c(51): void cgreg_init() {

[Issue 6600] unrelated expression alters function name mangling

2011-11-13 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=6600 --- Comment #1 from d...@dawgfoto.de 2011-11-13 17:38:11 PST --- related: http://d.puremagic.com/issues/show_bug.cgi?id=3796 -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail

[Issue 6600] unrelated expression alters function name mangling

2011-11-13 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=6600 --- Comment #2 from Kenji Hara k.hara...@gmail.com 2011-11-13 17:53:02 PST --- This issue seems to me that is same as bug 6902. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail

[Issue 6944] New: stdio.File.byLine can't handle an empty file

2011-11-13 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=6944 Summary: stdio.File.byLine can't handle an empty file Product: D Version: unspecified Platform: All OS/Version: All Status: NEW Severity: normal Priority: P2

[Issue 6945] New: [ICE](expression.c line 1853) arrays of missing symbols

2011-11-13 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=6945 Summary: [ICE](expression.c line 1853) arrays of missing symbols Product: D Version: D2 Platform: x86 OS/Version: Windows Status: NEW Severity: normal

[Issue 6946] New: Compile-time flags generator

2011-11-13 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=6946 Summary: Compile-time flags generator Product: D Version: D2 Platform: All OS/Version: All Status: NEW Severity: enhancement Priority: P2 Component:

[Issue 6944] stdio.File.byLine can't handle an empty file

2011-11-13 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=6944 --- Comment #1 from Jonathan M Davis jmdavisp...@gmx.com 2011-11-13 20:27:38 PST --- The simplest workaround that I've found is to use check whether std.file.getSize returns a value greater than 0, but I don't know if that's technically