[Issue 10091] [HEAD] Cannot cast struct member string enum to static ubyte array of same size

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

[Issue 10113] New: Can't use an enum : string in a switch statement

2013-05-18 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=10113 Summary: Can't use an enum : string in a switch statement Product: D Version: unspecified Platform: All OS/Version: All Status: NEW Severity: normal Priority: P2

[Issue 10114] New: Some implicit conversions to immutable and shared should be allowed

2013-05-18 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=10114 Summary: Some implicit conversions to immutable and shared should be allowed Product: D Version: D2 Platform: All OS/Version: All Status: NEW Severity:

[Issue 10101] static if conditional cannot be at global scope using mixin template

2013-05-18 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=10101 Kenji Hara k.hara...@gmail.com changed: What|Removed |Added Keywords||pull, rejects-valid

[Issue 10113] Can't use an enum : string in a switch statement

2013-05-18 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=10113 --- Comment #1 from Dylan tcdknut...@gmail.com 2013-05-18 00:11:41 PDT --- Sorry; I forgot to include compiler info. dmd --version DMD v2.063 DEBUG -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You

[Issue 10114] Some implicit conversions to immutable and shared should be allowed

2013-05-18 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=10114 Walter Bright bugzi...@digitalmars.com changed: What|Removed |Added Status|NEW |RESOLVED

[Issue 10102] @disable incompletely implemented

2013-05-18 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=10102 Kenji Hara k.hara...@gmail.com changed: What|Removed |Added Keywords||accepts-invalid, pull

[Issue 10108] Thread local slice to array literal references the same data

2013-05-18 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=10108 --- Comment #13 from Igor Stepanov wazar.leoll...@yahoo.com 2013-05-18 00:46:39 PDT --- int[] x = [1,2,3]; // should not be compiled It would be trivial to fix. As the initializer for static data must be a compile time constant we'd

[Issue 5988] Template accepts instantiating an already-instantiated template type

2013-05-18 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=5988 --- Comment #5 from Kenji Hara k.hara...@gmail.com 2013-05-18 03:11:11 PDT --- (In reply to comment #3) Yeah, this is an accepts-invalid for this test-case: template Templ(alias T) { alias T!int Templ; } class C(T) {

[Issue 5988] Template accepts instantiating an already-instantiated template type

2013-05-18 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=5988 Kenji Hara k.hara...@gmail.com changed: What|Removed |Added Keywords|accepts-invalid |pull, rejects-valid

[Issue 10099] Diagnostic for disabled default construction should improve

2013-05-18 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=10099 --- Comment #1 from Kenji Hara k.hara...@gmail.com 2013-05-18 08:04:46 PDT --- test.d(12): Error: struct test.S cannot be default-initialized because it has a default constructor annotated with @disable It seems to me that is a little long

[Issue 10063] inout+pure results in ability to produce immutable reference to mutable data

2013-05-18 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=10063 Kenji Hara k.hara...@gmail.com changed: What|Removed |Added Keywords||pull

[Issue 9634] [CTFE] appending a slice of an array of structs to itself

2013-05-18 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=9634 Martin Nowak c...@dawg.eu changed: What|Removed |Added CC||c...@dawg.eu --- Comment

Re: [Issue 10108] Thread local slice to array literal references the same data

2013-05-18 Thread Sean Kelly
This is expected because the global is __gshared and there's therefore no type protection from doing this. If you want safe sharing, make the global shared. On May 17, 2013, at 9:38 AM, d-bugm...@puremagic.com wrote: http://d.puremagic.com/issues/show_bug.cgi?id=10108 --- Comment #2

[Issue 10102] @disable incompletely implemented

2013-05-18 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=10102 --- Comment #2 from github-bugzi...@puremagic.com 2013-05-18 11:54:06 PDT --- Commits pushed to master at https://github.com/D-Programming-Language/dmd

[Issue 10102] @disable incompletely implemented

2013-05-18 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=10102 Walter Bright bugzi...@digitalmars.com changed: What|Removed |Added Status|NEW |RESOLVED

[Issue 10099] Diagnostic for disabled default construction should improve

2013-05-18 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=10099 --- Comment #2 from Andrej Mitrovic andrej.mitrov...@gmail.com 2013-05-18 12:17:01 PDT --- (In reply to comment #1) test.d(12): Error: struct test.S cannot be default-initialized because it has a default constructor annotated with

[Issue 10099] Diagnostic for disabled default construction should improve

2013-05-18 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=10099 --- Comment #3 from Andrej Mitrovic andrej.mitrov...@gmail.com 2013-05-18 12:17:21 PDT --- (In reply to comment #1) How about using default construction is disabled for type XXX? Perfect. -- Configure issuemail:

Re: [Issue 10108] Thread local slice to array literal references the same data

2013-05-18 Thread Simen Kjaeraas
On Sat, 18 May 2013 16:59:53 +0200, Sean Kelly s...@invisibleduck.org wrote: This is expected because the global is __gshared and there's therefore no type protection from doing this. If you want safe sharing, make the global shared. [snip] __gshared int[] gArr = [1,2,3]; int[] arr =

[Issue 10115] New: More @disabled holes

2013-05-18 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=10115 Summary: More @disabled holes Product: D Version: D2 Platform: All OS/Version: All Status: NEW Severity: normal Priority: P2 Component: DMD

[Issue 8576] unions call destructors of all their fields

2013-05-18 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8576 Maxim Fomin ma...@maxim-fomin.ru changed: What|Removed |Added Status|NEW |RESOLVED

[Issue 4421] Union propagates copy constructors and destructors over all members

2013-05-18 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=4421 Maxim Fomin ma...@maxim-fomin.ru changed: What|Removed |Added CC|

[Issue 4421] Union propagates copy constructors and destructors over all members

2013-05-18 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=4421 Maxim Fomin ma...@maxim-fomin.ru changed: What|Removed |Added CC||ma...@maxim-fomin.ru

[Issue 9427] [64 bit] wrong code for 'struct S{ union{ int[2] i; } }'

2013-05-18 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=9427 Maxim Fomin ma...@maxim-fomin.ru changed: What|Removed |Added Status|NEW |RESOLVED

[Issue 10091] [HEAD] Cannot cast struct member string enum to static ubyte array of same size

2013-05-18 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=10091 --- Comment #2 from github-bugzi...@puremagic.com 2013-05-18 17:18:35 PDT --- Commits pushed to master at https://github.com/D-Programming-Language/dmd

[Issue 10091] [HEAD] Cannot cast struct member string enum to static ubyte array of same size

2013-05-18 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=10091 --- Comment #3 from github-bugzi...@puremagic.com 2013-05-18 17:19:32 PDT --- Commit pushed to 2.063 at https://github.com/D-Programming-Language/dmd

[Issue 10091] [HEAD] Cannot cast struct member string enum to static ubyte array of same size

2013-05-18 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=10091 Walter Bright bugzi...@digitalmars.com changed: What|Removed |Added Status|NEW |RESOLVED

[Issue 10102] @disable incompletely implemented

2013-05-18 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=10102 --- Comment #3 from github-bugzi...@puremagic.com 2013-05-18 17:17:52 PDT --- Commit pushed to 2.063 at https://github.com/D-Programming-Language/dmd

[Issue 10101] static if conditional cannot be at global scope using mixin template

2013-05-18 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=10101 --- Comment #2 from github-bugzi...@puremagic.com 2013-05-18 17:25:52 PDT --- Commits pushed to master at https://github.com/D-Programming-Language/dmd

[Issue 10101] static if conditional cannot be at global scope using mixin template

2013-05-18 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=10101 --- Comment #3 from github-bugzi...@puremagic.com 2013-05-18 17:27:08 PDT --- Commit pushed to 2.063 at https://github.com/D-Programming-Language/dmd

[Issue 10101] static if conditional cannot be at global scope using mixin template

2013-05-18 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=10101 Walter Bright bugzi...@digitalmars.com changed: What|Removed |Added Status|NEW |RESOLVED

[Issue 10115] More @disabled holes

2013-05-18 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=10115 --- Comment #1 from Walter Bright bugzi...@digitalmars.com 2013-05-18 20:15:31 PDT --- https://github.com/D-Programming-Language/dmd/pull/2052 -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are

[Issue 10115] More @disabled holes

2013-05-18 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=10115 --- Comment #2 from github-bugzi...@puremagic.com 2013-05-18 22:29:42 PDT --- Commits pushed to master at https://github.com/D-Programming-Language/dmd

[Issue 10115] More @disabled holes

2013-05-18 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=10115 --- Comment #3 from github-bugzi...@puremagic.com 2013-05-18 22:31:01 PDT --- Commit pushed to 2.063 at https://github.com/D-Programming-Language/dmd

[Issue 10115] More @disabled holes

2013-05-18 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=10115 Walter Bright bugzi...@digitalmars.com changed: What|Removed |Added Status|NEW |RESOLVED