[Issue 7820] regression(DMD 2.059head) Wrong error on forward reference to 'front' with -property switch

2012-04-06 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7820 Walter Bright bugzi...@digitalmars.com changed: What|Removed |Added CC|

[Issue 7820] regression(DMD 2.059head) Wrong error on forward reference to 'front' with -property switch

2012-04-06 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7820 --- Comment #2 from github-bugzi...@puremagic.com 2012-04-05 23:28:16 PDT --- Commit pushed to master at https://github.com/D-Programming-Language/dmd

[Issue 7820] regression(DMD 2.059head) Wrong error on forward reference to 'front' with -property switch

2012-04-06 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7820 Walter Bright bugzi...@digitalmars.com changed: What|Removed |Added Status|NEW |RESOLVED

[Issue 7833] [2.059 Beta] Changelog should clearly mention struct literal/opCmp/opEquals changes

2012-04-06 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7833 --- Comment #3 from Nick Sabalausky cbkbbej...@mailinator.com 2012-04-06 00:10:57 PDT --- It also needs to mention this stuff in the Operator Overloading page of the documentation. -- Configure issuemail:

[Issue 7843] Regression(2.059 beta): Informational warning fails to produce executable

2012-04-06 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7843 --- Comment #1 from github-bugzi...@puremagic.com 2012-04-06 00:28:31 PDT --- Commit pushed to master at https://github.com/D-Programming-Language/dmd

[Issue 7843] Regression(2.059 beta): Informational warning fails to produce executable

2012-04-06 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7843 Walter Bright bugzi...@digitalmars.com changed: What|Removed |Added Status|NEW |RESOLVED

[Issue 7826] [D2 Beta] Cannot use getHash in toHash without a warning

2012-04-06 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7826 Don clugd...@yahoo.com.au changed: What|Removed |Added CC||clugd...@yahoo.com.au ---

[Issue 7826] [D2 Beta] Cannot use getHash in toHash without a warning

2012-04-06 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7826 Jonathan M Davis jmdavisp...@gmx.com changed: What|Removed |Added CC|

[Issue 7844] New: for-loop end-condition optimization

2012-04-06 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7844 Summary: for-loop end-condition optimization Product: D Version: D2 Platform: All OS/Version: Linux Status: NEW Severity: enhancement Priority: P2

[Issue 7845] New: Internal error: ../ztc/cgcs.c 354

2012-04-06 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7845 Summary: Internal error: ../ztc/cgcs.c 354 Product: D Version: D2 Platform: x86_64 OS/Version: Linux Status: NEW Severity: normal Priority: P2 Component:

[Issue 7846] New: Forward referenced storage class is not applied in certain cases

2012-04-06 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7846 Summary: Forward referenced storage class is not applied in certain cases Product: D Version: D2 Platform: All OS/Version: All Status: NEW Severity:

[Issue 7820] regression(DMD 2.059head) Wrong error on forward reference to 'front' with -property switch

2012-04-06 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7820 --- Comment #3 from timon.g...@gmx.ch 2012-04-06 02:26:40 PDT --- (In reply to comment #1) The second issue is not the same and isn't a regression. OK. Reposted as issue 7846. -- Configure issuemail:

[Issue 7820] regression(DMD 2.059head) Wrong error on forward reference to 'front' with -property switch

2012-04-06 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7820 --- Comment #4 from timon.g...@gmx.ch 2012-04-06 02:40:25 PDT --- The code this was reduced from still does not compile with -property for the same reason. I will try to create another reduced example and then reopen the issue. -- Configure

[Issue 7820] regression(DMD 2.059head) Wrong error on forward reference to 'front' with -property switch

2012-04-06 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7820 timon.g...@gmx.ch changed: What|Removed |Added Status|RESOLVED|REOPENED Resolution|FIXED

[Issue 7102] std.numeric.gcd with BigInts too

2012-04-06 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7102 bearophile_h...@eml.cc changed: What|Removed |Added Status|RESOLVED|REOPENED

[Issue 7835] Ignored break inside static foreach

2012-04-06 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7835 Dmitry Olshansky dmitry.o...@gmail.com changed: What|Removed |Added CC|

[Issue 7835] Ignored break inside static foreach

2012-04-06 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7835 timon.g...@gmx.ch changed: What|Removed |Added Status|NEW |RESOLVED CC|

[Issue 7765] Cannot access __gshared function pointers from static methods

2012-04-06 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7765 --- Comment #2 from Andrej Mitrovic andrej.mitrov...@gmail.com 2012-04-06 09:41:02 PDT --- (In reply to comment #1) c_func() is a function, not a function pointer nor a variable, and so __gshared has no effect on it. Not a bug. Ok. But

[Issue 7838] Give some error messages for wrong ranges

2012-04-06 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7838 --- Comment #2 from bearophile_h...@eml.cc 2012-04-06 10:09:17 PDT --- (In reply to comment #1) My understanding is that you would usually put a static assert with isInputRange, or a more specific template from std.range immediately after the

[Issue 7835] Ignored break inside static foreach

2012-04-06 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7835 --- Comment #3 from bearophile_h...@eml.cc 2012-04-06 10:06:56 PDT --- (In reply to comment #2) Not a bug. break applies to the innermost statement that can be broken out from. This includes foreach. (I use this idiom often. Use labeled

[Issue 7835] switch case fallthrough error despite a break inside static foreach

2012-04-06 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7835 bearophile_h...@eml.cc changed: What|Removed |Added Keywords|wrong-code |diagnostic

[Issue 7838] Give some error messages for wrong ranges

2012-04-06 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7838 --- Comment #3 from Matt Peterson revcompg...@gmail.com 2012-04-06 10:47:21 PDT --- Yeah, I think the best solution is to add verifyInputRange etc. templates to std.range, where each criteria is checked by a separate static assert. It's just a

[Issue 7838] Give some error messages for wrong ranges

2012-04-06 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7838 --- Comment #4 from bearophile_h...@eml.cc 2012-04-06 11:06:31 PDT --- (In reply to comment #3) It's just a little ugly because there will end up being nearly duplicate templates for all the different range types. I think putting such test

[Issue 7835] switch case fallthrough error despite a break inside static foreach

2012-04-06 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7835 --- Comment #5 from bearophile_h...@eml.cc 2012-04-06 11:32:39 PDT --- This compiles with no warnings and it seems to work correctly, but I don't fully understand it: import core.stdc.stdio: printf; template TypeTuple(TList...) { alias

[Issue 7835] switch case fallthrough error despite a break inside static foreach

2012-04-06 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7835 --- Comment #6 from Dmitry Olshansky dmitry.o...@gmail.com 2012-04-06 11:37:01 PDT --- (In reply to comment #5) This compiles with no warnings and it seems to work correctly, but I don't fully understand it: import core.stdc.stdio:

[Issue 7835] switch case fallthrough error despite a break inside static foreach

2012-04-06 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7835 --- Comment #7 from timon.g...@gmx.ch 2012-04-06 11:41:49 PDT --- (In reply to comment #5) This compiles with no warnings and it seems to work correctly, but I don't fully understand it: import core.stdc.stdio: printf; template

[Issue 7844] implement loop invariant code motion for pure functions

2012-04-06 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7844 timon.g...@gmx.ch changed: What|Removed |Added CC||timon.g...@gmx.ch

[Issue 7835] switch case fallthrough error despite a break inside static foreach

2012-04-06 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7835 bearophile_h...@eml.cc changed: What|Removed |Added Status|REOPENED|RESOLVED Resolution|

[Issue 7823] Can't use a struct initializer to initialize a nested enum used as a default function argument initializer

2012-04-06 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7823 --- Comment #2 from github-bugzi...@puremagic.com 2012-04-06 13:29:28 PDT --- Commit pushed to master at https://github.com/D-Programming-Language/dmd

[Issue 7823] Can't use a struct initializer to initialize a nested enum used as a default function argument initializer

2012-04-06 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7823 Walter Bright bugzi...@digitalmars.com changed: What|Removed |Added Status|NEW |RESOLVED

[Issue 7820] regression(DMD 2.059head) Wrong error on forward reference to 'front' with -property switch

2012-04-06 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7820 --- Comment #6 from github-bugzi...@puremagic.com 2012-04-06 14:54:52 PDT --- Commit pushed to master at https://github.com/D-Programming-Language/dmd

[Issue 7820] regression(DMD 2.059head) Wrong error on forward reference to 'front' with -property switch

2012-04-06 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7820 Walter Bright bugzi...@digitalmars.com changed: What|Removed |Added Status|REOPENED|RESOLVED

[Issue 7847] New: [ICE] Internal error: e2ir.c 688

2012-04-06 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7847 Summary: [ICE] Internal error: e2ir.c 688 Product: D Version: D2 Platform: All OS/Version: All Status: NEW Severity: normal Priority: P2 Component: DMD

[Issue 7847] [ICE] Internal error: e2ir.c 688 with -inline

2012-04-06 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7847 timon.g...@gmx.ch changed: What|Removed |Added Summary|[ICE] Internal error: |[ICE] Internal error:

[Issue 7847] [ICE] Internal error: e2ir.c 688 with -inline

2012-04-06 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7847 --- Comment #2 from timon.g...@gmx.ch 2012-04-06 15:09:26 PDT --- The following variation crashes the compiler with a segmentation fault: Bar New(T)(Foo args){return null;} class Bar{ this(Foo){ } static Bar create(){ return

[Issue 7835] switch case fallthrough error despite a break inside static foreach

2012-04-06 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7835 Brad Roberts bra...@puremagic.com changed: What|Removed |Added Status|RESOLVED|REOPENED

[Issue 7847] [ICE] Internal error: e2ir.c 688 with -inline

2012-04-06 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7847 --- Comment #3 from timon.g...@gmx.ch 2012-04-06 15:16:41 PDT --- The following variation causes an ICE in a different location: --- Bar New(T,A...)(A args){return null;} class Bar{ this(Foo){ } static Bar create(){ return

[Issue 7826] [D2 Beta] Cannot use getHash in toHash without a warning

2012-04-06 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7826 --- Comment #4 from github-bugzi...@puremagic.com 2012-04-06 17:10:03 PDT --- Commit pushed to master at https://github.com/D-Programming-Language/dmd

[Issue 7826] [D2 Beta] Cannot use getHash in toHash without a warning

2012-04-06 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7826 Walter Bright bugzi...@digitalmars.com changed: What|Removed |Added Status|NEW |RESOLVED

[Issue 7848] New: pure doesn't work on unittest blocks

2012-04-06 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7848 Summary: pure doesn't work on unittest blocks Product: D Version: unspecified Platform: All OS/Version: All Status: NEW Severity: normal Priority: P2