[Issue 7522] ICE(interpret.c) Accessing a non-static member without this

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

[Issue 6784] Compile-time constant assigned with a runtime value

2012-02-22 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=6784 --- Comment #2 from Don clugd...@yahoo.com.au 2012-02-22 01:14:30 PST --- The error message should only happen when result WANTinterpret. But, the problem is, as usual, those %/$# AAs. The builtin AA properties aren't converted into function

[Issue 3927] array.length++; is an error, but ++array.length compiles

2012-02-22 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=3927 --- Comment #3 from github-bugzi...@puremagic.com 2012-02-22 01:31:11 PST --- Commit pushed to master at https://github.com/D-Programming-Language/dmd

[Issue 3927] array.length++; is an error, but ++array.length compiles

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

[Issue 7522] ICE(interpret.c) Accessing a non-static member without this

2012-02-22 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7522 --- Comment #2 from yebblies yebbl...@gmail.com 2012-02-22 20:49:07 EST --- Nope, still happens. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---

[Issue 4269] Regression(2.031): invalid type accepted if evaluated while errors are gagged

2012-02-22 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=4269 --- Comment #23 from github-bugzi...@puremagic.com 2012-02-22 02:22:28 PST --- Commit pushed to dmd-1.x at https://github.com/D-Programming-Language/dmd

[Issue 4269] Regression(2.031): invalid type accepted if evaluated while errors are gagged

2012-02-22 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=4269 --- Comment #24 from Walter Bright bugzi...@digitalmars.com 2012-02-22 02:25:38 PST --- https://github.com/D-Programming-Language/dmd/pull/729 -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are

[Issue 7522] ICE(interpret.c) Accessing a non-static member without this

2012-02-22 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7522 --- Comment #3 from Don clugd...@yahoo.com.au 2012-02-22 02:34:26 PST --- No, wait, this shouldn't compile at all. It should never reach CTFE. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are

[Issue 7561] New: std.net.curl broken

2012-02-22 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7561 Summary: std.net.curl broken Product: D Version: unspecified Platform: All OS/Version: All Status: NEW Severity: normal Priority: P2 Component: Phobos

[Issue 7562] New: DMD crashes by using TemplateThisParameter

2012-02-22 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7562 Summary: DMD crashes by using TemplateThisParameter Product: D Version: D2 Platform: x86_64 OS/Version: Windows Status: NEW Keywords: ice Severity: critical

[Issue 7562] DMD crashes by using TemplateThisParameter

2012-02-22 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7562 Kenji Hara k.hara...@gmail.com changed: What|Removed |Added Keywords||pull --- Comment #1

[Issue 5525] Eponymous templates should allow for overloaded eponymous members

2012-02-22 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=5525 --- Comment #2 from Kenji Hara k.hara...@gmail.com 2012-02-22 04:28:11 PST --- In dmd2.058, eponymous template hides internal names (fixing bug 4675). But eponymous overload set isn't still allowed. Workaround: template foo( T ) { T foox(

[Issue 5525] Eponymous templates should allow for overloaded eponymous members

2012-02-22 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=5525 Kenji Hara k.hara...@gmail.com changed: What|Removed |Added Keywords||pull --- Comment #3

Re: [Issue 3927] array.length++; is an error, but ++array.length compiles

2012-02-22 Thread Salih Dincer
--- Comment #4 from Walter Bright bugzi...@digitalmars.com 2012-02-22 01:31:32 PST --- Fixed for D2 only. void main() { int[] array = [ 0, 1, 2, 3, 4, 5, 6, 7, 8, 9 ]; writeln(array, ~, --array.length); assert (array.length == 9); } Which one is correct? Best regards...

Re: [Issue 3927] array.length++; is an error, but ++array.length compiles

2012-02-22 Thread Salih Dincer
No problem... void main() { int[] array = [ 0, 1, 2, 3, 4, 5, 6, 7, 8, 9 ]; writeln(array, ~, ++array.length, -, --array.length); assert (array.length == 10);// no problem writeln(array, ~, array.length); } DMD version: 2.057 ==

[Issue 3927] array.length++; is an error, but ++array.length compiles

2012-02-22 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=3927 Salih Dincer sali...@hotmail.com changed: What|Removed |Added CC||sali...@hotmail.com

[Issue 3927] array.length++; is an error, but ++array.length compiles

2012-02-22 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=3927 --- Comment #6 from yebblies yebbl...@gmail.com 2012-02-23 02:01:42 EST --- (In reply to comment #5) (In reply to comment #4) Fixed for D2 only. void main() { int[] array = [ 0, 1, 2, 3, 4, 5, 6, 7, 8, 9 ]; writeln(array, ~,

[Issue 7560] Expanding inherited overload sets gives error

2012-02-22 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7560 --- Comment #1 from blm...@gmail.com 2012-02-22 07:20:05 PST --- For some reason, it appears that my test case actually does compile :) I guess I'd better check my test cases next time. The original code is still broken, though; I'll try to put

Re: [Issue 3927] array.length++; is an error, but ++array.length compiles

2012-02-22 Thread Salih Dincer
On Wednesday, 22 February 2012 at 15:01:45 UTC, yebblies wrote: DMD version: 2.057 == salih@DB-N150-N210-N220:~/d.ders$ ./dene [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]~11-10 [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]~10 No problem... Huh? What's your point? I'm new learning to java language! Just

[Issue 3927] array.length++; is an error, but ++array.length compiles

2012-02-22 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=3927 --- Comment #7 from Salih Dincer sali...@hotmail.com 2012-02-22 09:56:23 PST --- I'm new learning to java language! Just tried it and I see no problem ...:) I thank you for your interest in my code snippets... Best Regards... -- Configure

[Issue 5525] Eponymous templates should allow for overloaded eponymous members

2012-02-22 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=5525 --- Comment #4 from github-bugzi...@puremagic.com 2012-02-22 11:43:41 PST --- Commits pushed to master at https://github.com/D-Programming-Language/dmd

[Issue 6784] Compile-time constant assigned with a runtime value

2012-02-22 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=6784 --- Comment #3 from Don clugd...@yahoo.com.au 2012-02-22 11:59:55 PST --- FWIW, this patch in optimize.c, DotVarExp::optimize() fixes the bug. But, the exclusion of TOKassocarrayliteral is just a hack. if (e e-op == TOKstructliteral)

[Issue 7563] New: Class members with default template arguments have no type

2012-02-22 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7563 Summary: Class members with default template arguments have no type Product: D Version: D2 Platform: All OS/Version: All Status: NEW Severity: normal

[Issue 7525] Broken return type inference for delegate returns

2012-02-22 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7525 --- Comment #1 from siegelords_ab...@yahoo.com 2012-02-22 13:59:01 PST --- A few more examples that don't work in 2.058 but work in 2.057: int delegate() a = {return 1U;}; uint delegate() b = {return 1;}; float delegate() c = {return 1.0;};

[Issue 5525] Eponymous templates should allow for overloaded eponymous members

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

[Issue 1149] Optimizer: obsolete array length loads, common subexpr. elimin. not working

2012-02-22 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=1149 --- Comment #2 from github-bugzi...@puremagic.com 2012-02-22 14:22:53 PST --- Commit pushed to master at https://github.com/D-Programming-Language/dmd

[Issue 7564] New: Implicit conversion from static to dynamic array in loops

2012-02-22 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7564 Summary: Implicit conversion from static to dynamic array in loops Product: D Version: unspecified Platform: All OS/Version: All Status: NEW Severity:

[Issue 1149] Optimizer: obsolete array length loads, common subexpr. elimin. not working

2012-02-22 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=1149 bearophile_h...@eml.cc changed: What|Removed |Added CC||bearophile_h...@eml.cc ---

[Issue 7564] Implicit conversion from static to dynamic array in loops

2012-02-22 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7564 bearophile_h...@eml.cc changed: What|Removed |Added CC||bearophile_h...@eml.cc ---

[Issue 7560] Expanding inherited overload sets gives error

2012-02-22 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7560 --- Comment #2 from blm...@gmail.com 2012-02-22 16:05:39 PST --- I found a test case that should work: class Base { template getter(T) { void get(ref T[] i, uint n) {} } mixin getter!uint; mixin getter!char; } class

[Issue 7444] Require [] for array copies too

2012-02-22 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7444 --- Comment #8 from bearophile_h...@eml.cc 2012-02-22 16:07:54 PST --- See why a consistent syntax matters: Issue 7564 -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because:

[Issue 7562] DMD crashes by using TemplateThisParameter

2012-02-22 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7562 --- Comment #2 from github-bugzi...@puremagic.com 2012-02-22 16:30:32 PST --- Commits pushed to master at https://github.com/D-Programming-Language/dmd

[Issue 7565] New: ICE cg87.c:202, 64-bit only

2012-02-22 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7565 Summary: ICE cg87.c:202, 64-bit only Product: D Version: D2 Platform: All OS/Version: All Status: NEW Keywords: ice-on-valid-code Severity: normal

[Issue 7562] DMD crashes by using TemplateThisParameter

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

[Issue 3354] invalid number of args accepted for 1/2 arg floating point instructions

2012-02-22 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=3354 --- Comment #4 from github-bugzi...@puremagic.com 2012-02-22 19:10:50 PST --- Commit pushed to master at https://github.com/D-Programming-Language/dmd

[Issue 1149] Optimizer: obsolete array length loads, common subexpr. elimin. not working

2012-02-22 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=1149 --- Comment #4 from yebblies yebbl...@gmail.com 2012-02-23 14:20:18 EST --- (In reply to comment #3) With the test code, this is the X86 asm I was seeing before this patch (-O -release -inline): [snip] So is this patch working? Oops. I

[Issue 1149] Optimizer: obsolete array length loads, common subexpr. elimin. not working

2012-02-22 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=1149 --- Comment #5 from bearophile_h...@eml.cc 2012-02-22 20:00:29 PST --- (In reply to comment #4) Oops. I tried to disable it for floating point and ended up disabling it for all non-integers. I have tried it with this code: void main() {

[Issue 1149] Optimizer: obsolete array length loads, common subexpr. elimin. not working

2012-02-22 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=1149 --- Comment #6 from yebblies yebbl...@gmail.com 2012-02-23 15:20:57 EST --- (In reply to comment #5) (In reply to comment #4) Oops. I tried to disable it for floating point and ended up disabling it for all non-integers. I have