[Issue 8982] Assertion failure: '0' on line 353 in file 'ctfeexpr.c'

2012-11-12 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8982 --- Comment #1 from Don clugd...@yahoo.com.au 2012-11-12 00:58:43 PST --- Somewhat reduced test case: template Bug8982(func...) { static if (is(typeof(func[0]) PT == __parameters)) { enum Bug8982 = ((PT[0..1] args) =

[Issue 8999] New: Closure not detected for reference paramters of templated functions

2012-11-12 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8999 Summary: Closure not detected for reference paramters of templated functions Product: D Version: D2 Platform: All OS/Version: All Status: NEW Keywords:

[Issue 6768] Problem with init of struct members in presence of templated opAssign

2012-11-12 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=6768 Denis Shelomovskij verylonglogin@gmail.com changed: What|Removed |Added Status|NEW

[Issue 8999] Closure not detected for reference paramters of templated functions

2012-11-12 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8999 Denis Shelomovskij verylonglogin@gmail.com changed: What|Removed |Added CC|

[Issue 9000] New: ICE on assigning struct's `init` to enum

2012-11-12 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=9000 Summary: ICE on assigning struct's `init` to enum Product: D Version: D2 Platform: All OS/Version: All Status: NEW Keywords: ice, rejects-valid Severity: normal

[Issue 9001] New: ICE on assigning expression tuple element with struct's `init` to enum

2012-11-12 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=9001 Summary: ICE on assigning expression tuple element with struct's `init` to enum Product: D Version: D2 Platform: All OS/Version: All Status: NEW

[Issue 7303] Erroneous closure behavior

2012-11-12 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7303 --- Comment #3 from Denis Shelomovskij verylonglogin@gmail.com 2012-11-12 13:39:46 MSK --- (In reply to comment #1) Duplicate of bug 1841? Yes. The closure isn't detected. Writing `c` from `test.inner` showsw it is on stack but must be

[Issue 1841] Closure detection doesn't work when variable is used in a nested function

2012-11-12 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=1841 Denis Shelomovskij verylonglogin@gmail.com changed: What|Removed |Added CC|

[Issue 8982] Assertion failure: '0' on line 353 in file 'ctfeexpr.c'

2012-11-12 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8982 --- Comment #2 from Don clugd...@yahoo.com.au 2012-11-12 02:46:28 PST --- Further reduced: void bug8982(ref const int v = 7 ){} static if (is(typeof(bug8982) P == __parameters)) { pragma(msg, ((P[0..1] g) = g[0])()); } -- Configure

[Issue 9002] New: Document that `S s = S(...); ` will not create temporaries

2012-11-12 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=9002 Summary: Document that `S s = S(...);` will not create temporaries Product: D Version: D2 Platform: All OS/Version: All Status: NEW Keywords: spec

[Issue 1841] Closure detection doesn't work when variable is used in a nested function

2012-11-12 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=1841 Denis Shelomovskij verylonglogin@gmail.com changed: What|Removed |Added CC|

[Issue 9003] New: Nested structs smetimes have null context pointers in static struct

2012-11-12 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=9003 Summary: Nested structs smetimes have null context pointers in static struct Product: D Version: D2 Platform: All OS/Version: All Status: NEW Keywords:

[Issue 9005] New: std.concurrency.spawn should allow `void delegate(Args) shared` for new Tid

2012-11-12 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=9005 Summary: std.concurrency.spawn should allow `void delegate(Args) shared` for new Tid Product: D Version: D2 Platform: All OS/Version: All Status: NEW

[Issue 9004] New: Wrong line number for undefined identifier error

2012-11-12 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=9004 Summary: Wrong line number for undefined identifier error Product: D Version: D2 Platform: x86 OS/Version: Windows Status: NEW Keywords: diagnostic Severity:

[Issue 9006] New: Static struct with nested struct fields sometimes has current context pointers in `init`

2012-11-12 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=9006 Summary: Static struct with nested struct fields sometimes has current context pointers in `init` Product: D Version: D2 Platform: All OS/Version: All Status: NEW

[Issue 9004] Wrong line number for undefined identifier error

2012-11-12 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=9004 Andrej Mitrovic andrej.mitrov...@gmail.com changed: What|Removed |Added CC|

[Issue 8990] Forward reference error on three structs

2012-11-12 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8990 --- Comment #3 from Don clugd...@yahoo.com.au 2012-11-12 07:07:59 PST --- Yes, looks identical to bug 6969 to me. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because:

[Issue 1599] compile time evaluation with immutable problem

2012-11-12 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=1599 Don clugd...@yahoo.com.au changed: What|Removed |Added Status|NEW |RESOLVED

[Issue 1734] Inconsistent mixin behaviour

2012-11-12 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=1734 Don clugd...@yahoo.com.au changed: What|Removed |Added Severity|major |enhancement --- Comment #3

[Issue 9007] New: DMD-head Warnings about missing curl.lib when using -unittest

2012-11-12 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=9007 Summary: DMD-head Warnings about missing curl.lib when using -unittest Product: D Version: D2 Platform: All OS/Version: Windows Status: NEW Severity:

[Issue 2057] Unexpected type names with template typedefs

2012-11-12 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=2057 Don clugd...@yahoo.com.au changed: What|Removed |Added Version|2.014 |D1 --- Comment #1 from Don

[Issue 1944] is-expressions don't correctly define tuples named in the match expression

2012-11-12 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=1944 Don clugd...@yahoo.com.au changed: What|Removed |Added Status|NEW |RESOLVED

[Issue 2128] Template function argument binding is too restrictive wrt qualifiers

2012-11-12 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=2128 Don clugd...@yahoo.com.au changed: What|Removed |Added Severity|normal |enhancement --- Comment #4

[Issue 9008] New: Another forward referencing bug

2012-11-12 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=9008 Summary: Another forward referencing bug Product: D Version: D2 Platform: All OS/Version: Windows Status: NEW Severity: normal Priority: P2 Component: DMD

[Issue 9009] New: allow foreach without identifier

2012-11-12 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=9009 Summary: allow foreach without identifier Product: D Version: unspecified Platform: All OS/Version: All Status: NEW Severity: enhancement Priority: P2

[Issue 8970] Tuple should support conversion from tuple with unnamed fields to tuple with named fields

2012-11-12 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8970 Simen Kjaeraas simen.kja...@gmail.com changed: What|Removed |Added Status|NEW |RESOLVED

[Issue 8570] Tuples without named fields should implicitly convert to tuples with named fields when returned from a function

2012-11-12 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8570 --- Comment #1 from Simen Kjaeraas simen.kja...@gmail.com 2012-11-12 08:49:08 PST --- *** Issue 8970 has been marked as a duplicate of this issue. *** -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You

[Issue 9010] New: opEquals() const results in not-covered code

2012-11-12 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=9010 Summary: opEquals() const results in not-covered code Product: D Version: D2 Platform: x86_64 OS/Version: Linux Status: NEW Severity: trivial Priority: P2

[Issue 8596] Indeterministic assertion failure in rehash

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

[Issue 8596] Indeterministic assertion failure in rehash

2012-11-12 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8596 deadalnix deadal...@gmail.com changed: What|Removed |Added Severity|major |normal --- Comment #4

[Issue 7003] no tuple expansion for c++ mangling

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

[Issue 8596] Indeterministic assertion failure in rehash

2012-11-12 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8596 --- Comment #5 from Walter Bright bugzi...@digitalmars.com 2012-11-12 12:39:20 PST --- dmd isn't multithreaded, so it could not be a race condition. It does, however, sound like memory corruption. Can you run it under valgrind? --

[Issue 8596] Indeterministic assertion failure in rehash

2012-11-12 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8596 --- Comment #6 from deadalnix deadal...@gmail.com 2012-11-12 12:45:50 PST --- (In reply to comment #5) dmd isn't multithreaded, so it could not be a race condition. It does, however, sound like memory corruption. Can you run it under

[Issue 8596] Indeterministic assertion failure in rehash

2012-11-12 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8596 --- Comment #7 from Walter Bright bugzi...@digitalmars.com 2012-11-12 12:51:20 PST --- If you're running the 64 bit dmd, shouldn't it be able to use far more virtual memory (very slowly)? -- Configure issuemail:

[Issue 8596] Indeterministic assertion failure in rehash

2012-11-12 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8596 Alex R�nne Petersen a...@lycus.org changed: What|Removed |Added CC||a...@lycus.org

[Issue 8596] Indeterministic assertion failure in rehash

2012-11-12 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8596 --- Comment #9 from deadalnix deadal...@gmail.com 2012-11-12 14:00:55 PST --- (In reply to comment #8) Well, only if paging is enabled (i.e. there is a swap partition in use). I know I set my systems up without paging because I practically

[Issue 8596] Indeterministic assertion failure in rehash

2012-11-12 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8596 --- Comment #10 from deadalnix deadal...@gmail.com 2012-11-12 14:06:19 PST --- (In reply to comment #9) (In reply to comment #8) Well, only if paging is enabled (i.e. there is a swap partition in use). I know I set my systems up without

[Issue 8596] Indeterministic assertion failure in rehash

2012-11-12 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8596 --- Comment #11 from deadalnix deadal...@gmail.com 2012-11-12 15:48:04 PST --- Created an attachment (id=1160) valgrind output -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail

[Issue 9011] New: One more strongly pure case

2012-11-12 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=9011 Summary: One more strongly pure case Product: D Version: D2 Platform: x86 OS/Version: Windows Status: NEW Keywords: rejects-valid Severity: enhancement

[Issue 9000] ICE on assigning struct's `init` to enum

2012-11-12 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=9000 --- Comment #1 from github-bugzi...@puremagic.com 2012-11-12 16:42:00 PST --- Commit pushed to master at https://github.com/D-Programming-Language/dmd

[Issue 9000] ICE on assigning struct's `init` to enum

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

[Issue 9001] ICE on assigning expression tuple element with struct's `init` to enum

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

[Issue 9000] ICE on assigning struct's `init` to enum

2012-11-12 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=9000 --- Comment #2 from Walter Bright bugzi...@digitalmars.com 2012-11-12 16:43:21 PST --- *** Issue 9001 has been marked as a duplicate of this issue. *** -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You

[Issue 9012] New: writef/format inconsistent with format specifier

2012-11-12 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=9012 Summary: writef/format inconsistent with format specifier Product: D Version: D2 Platform: All OS/Version: All Status: NEW Severity: normal Priority: P2

[Issue 9012] writef/format inconsistent with format specifier

2012-11-12 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=9012 --- Comment #1 from Andrej Mitrovic andrej.mitrov...@gmail.com 2012-11-12 16:51:03 PST --- xformat works ok though. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because:

[Issue 8596] Indeterministic assertion failure in rehash

2012-11-12 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8596 --- Comment #12 from Walter Bright bugzi...@digitalmars.com 2012-11-12 16:56:17 PST --- (In reply to comment #11) Created an attachment (id=1160) [details] valgrind output Fixed the valgrind reported issue. It's definitely a corruption bug

[Issue 8596] Indeterministic assertion failure in rehash

2012-11-12 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8596 --- Comment #13 from Walter Bright bugzi...@digitalmars.com 2012-11-12 17:09:08 PST --- https://github.com/D-Programming-Language/dmd/commit/80884506df7a020e879ba3adda5a98d0465e7164 I won't mark it fixed until you guys can verify, as I don't

[Issue 8596] Indeterministic assertion failure in rehash

2012-11-12 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8596 --- Comment #14 from deadalnix deadal...@gmail.com 2012-11-12 17:21:20 PST --- (In reply to comment #13) https://github.com/D-Programming-Language/dmd/commit/80884506df7a020e879ba3adda5a98d0465e7164 I won't mark it fixed until you guys can

[Issue 8596] Indeterministic assertion failure in rehash

2012-11-12 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8596 --- Comment #16 from deadalnix deadal...@gmail.com 2012-11-12 17:35:10 PST --- (In reply to comment #15) (In reply to comment #14) Bad news : just tested the patch and got 6 out of 10 compilation failed on this assert. What do you

[Issue 9013] New: Compiler crash with foreach on wrongly defined interval

2012-11-12 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=9013 Summary: Compiler crash with foreach on wrongly defined interval Product: D Version: D2 Platform: x86 OS/Version: Windows Status: NEW Severity: normal

[Issue 8596] Indeterministic assertion failure in rehash

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

[Issue 9011] One more strongly pure case

2012-11-12 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=9011 Kenji Hara k.hara...@gmail.com changed: What|Removed |Added See Also|

[Issue 7220] Bad initialization when using mixin to generate a static field in a -lib'rary

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

[Issue 8408] Purity calculation should be improved

2012-11-12 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8408 --- Comment #4 from bearophile_h...@eml.cc 2012-11-12 20:23:55 PST --- *** Issue 9011 has been marked as a duplicate of this issue. *** -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving

[Issue 9014] New: [ICE](glue.c line 1225) with array.front and missing array

2012-11-12 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=9014 Summary: [ICE](glue.c line 1225) with array.front and missing array Product: D Version: D2 Platform: x86 OS/Version: Windows Status: NEW Severity: normal

[Issue 9015] New: std.container.DList.opOpAssign missing return

2012-11-12 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=9015 Summary: std.container.DList.opOpAssign missing return Product: D Version: D2 Platform: x86 OS/Version: Windows Status: NEW Severity: normal Priority: P2

[Issue 9016] New: swap() doesn't work with std.container.DList.front and back

2012-11-12 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=9016 Summary: swap() doesn't work with std.container.DList.front and back Product: D Version: D2 Platform: x86 OS/Version: Windows Status: NEW Keywords:

[Issue 9017] New: __traits(compiles, { enum e = expression tuple; }) is true but code doesn't compile

2012-11-12 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=9017 Summary: __traits(compiles, { enum e = expression tuple; }) is true but code doesn't compile Product: D Version: D2 Platform: All OS/Version: All Status: NEW

[Issue 7220] Bad initialization when using mixin to generate a static field in a -lib'rary

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

[Issue 7220] Bad initialization when using mixin to generate a static field in a -lib'rary

2012-11-12 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7220 --- Comment #4 from github-bugzi...@puremagic.com 2012-11-12 23:43:47 PST --- Commit pushed to master at https://github.com/D-Programming-Language/dmd

[Issue 785] Make 'cent' and 'ucent' syntactically valid pending implementation

2012-11-12 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=785 Don clugd...@yahoo.com.au changed: What|Removed |Added Status|REOPENED|RESOLVED

[Issue 620] Can't use property syntax with a template function

2012-11-12 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=620 Don clugd...@yahoo.com.au changed: What|Removed |Added Status|ASSIGNED|RESOLVED

[Issue 855] Improve performance

2012-11-12 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=855 Don clugd...@yahoo.com.au changed: What|Removed |Added Status|NEW |RESOLVED Resolution|

[Issue 790] arbitrary lookahead for nested functions

2012-11-12 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=790 Don clugd...@yahoo.com.au changed: What|Removed |Added Status|REOPENED|RESOLVED Resolution|