Re: [Issue 8285] Error passing CTFE-generated string slice to template value parameter

2012-07-02 Thread Max Samukha
On Tuesday, 26 June 2012 at 16:27:29 UTC, kenji hara wrote: Direct replying to this news group/mailing list is no meaning. You must post these test case from the form in bugzilla. http://d.puremagic.com/issues/show_bug.cgi?id=8285 Kenji hara 2012/6/25 Max Samukha : Another test case. The error

[Issue 8285] ParameterStorageClassTuple fails in CTFE

2012-07-02 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8285 --- Comment #1 from Max Samukha 2012-07-02 23:33:55 PDT --- Test case 1: string foo() { string s = "ab"; return s[0 .. $]; } template T2(string s) { } template T1() { enum s = foo(); alias T2!(s) t2; } int bar() {

[Issue 4498] cannot get return type of a function returning a nested struct with typeof

2012-07-02 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=4498 Jonathan M Davis changed: What|Removed |Added Status|NEW |RESOLVED Resolution|

[Issue 4498] cannot get return type of a function returning a nested struct with typeof

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

[Issue 8339] New: is(typeof(...)) is reporting true when it's false due to nested function error

2012-07-02 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8339 Summary: is(typeof(...)) is reporting true when it's false due to nested function error Product: D Version: unspecified Platform: All OS/Version: All Status: NEW

[Issue 8338] Unqual doesn't work properly on arrays

2012-07-02 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8338 --- Comment #4 from Kenji Hara 2012-07-02 21:01:13 PDT --- (In reply to comment #3) > Maybe. But I'm not completely convinced that it would break all that much code > - particularly since I would have expected any code using Unqual to be writte

[Issue 8338] Unqual doesn't work properly on arrays

2012-07-02 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8338 --- Comment #3 from Jonathan M Davis 2012-07-02 20:03:22 PDT --- Maybe. But I'm not completely convinced that it would break all that much code - particularly since I would have expected any code using Unqual to be written with the intention o

[Issue 8338] Unqual doesn't work properly on arrays

2012-07-02 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8338 --- Comment #2 from Kenji Hara 2012-07-02 19:41:54 PDT --- > But, changing its implementation would break *maby* existing codes, so, s/maby/many/ -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are r

[Issue 8338] Unqual doesn't work properly on arrays

2012-07-02 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8338 Kenji Hara changed: What|Removed |Added Version|unspecified |D2 --- Comment #1 from Kenji Hara 2012-0

[Issue 8338] New: Unqual doesn't work properly on arrays

2012-07-02 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8338 Summary: Unqual doesn't work properly on arrays Product: D Version: unspecified Platform: All OS/Version: All Status: NEW Severity: normal Priority: P2 Com

[Issue 8185] Pure functions and pointers

2012-07-02 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8185 Walter Bright changed: What|Removed |Added Status|NEW |RESOLVED CC|

[Issue 6419] [CTFE] Cannot create a non-static nested struct

2012-07-02 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=6419 ponce changed: What|Removed |Added CC||alil...@gmail.com --- Comment #6 from ponce 2

[Issue 8335] `ref` is ignored for static array of stucts with postblit argument

2012-07-02 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8335 Kenji Hara changed: What|Removed |Added Keywords||pull --- Comment #4 from Kenji Hara 2012

[Issue 8335] `ref` is ignored for static array of stucts with postblit argument

2012-07-02 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8335 --- Comment #3 from Kenji Hara 2012-07-02 09:27:18 PDT --- (In reply to comment #2) > This is definitely a bug, but is really *regression*? > I'd like to know the version of dmd which had worked correctly. Ah, OK. I found the reason of this bu

[Issue 8335] `ref` is ignored for static array of stucts with postblit argument

2012-07-02 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8335 --- Comment #2 from Kenji Hara 2012-07-02 08:58:44 PDT --- This is definitely a bug, but is really *regression*? I'd like to know the version of dmd which had worked correctly. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.c

[Issue 7965] Invalid outer function scope pointer in some cases

2012-07-02 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7965 --- Comment #6 from Kenji Hara 2012-07-02 08:37:57 PDT --- (In reply to comment #5) > Reduced test-case: > --- > struct S > { > string str; > uint unused1, unused2 = 0; > } > > auto f(alias fun)() > { > struct Result > { >

[Issue 8336] Default function parameters ignored by delegate

2012-07-02 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8336 Jonathan M Davis changed: What|Removed |Added Status|NEW |RESOLVED CC|

[Issue 3646] Default values of function arguments are ignored when instantiating a template.

2012-07-02 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=3646 Jonathan M Davis changed: What|Removed |Added CC||pun...@coverify.org --- Comment #10

[Issue 8336] Default function parameters ignored by delegate

2012-07-02 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8336 --- Comment #2 from Puneet Goel 2012-07-02 05:32:59 PDT --- > Default arguments were never reliable for functions called trough a pointer, > so > this little change is expected, take a look at the changelog of 2.060alpha. I think it would be

[Issue 8336] Default function parameters ignored by delegate

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

[Issue 8336] New: Default function parameters ignored by delegate

2012-07-02 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8336 Summary: Default function parameters ignored by delegate Product: D Version: D2 Platform: All OS/Version: All Status: NEW Severity: regression Priority: P2

[Issue 8335] `ref` is ignored for static array of stucts with postblit argument

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

[Issue 8335] New: DMD ignoring ref for array arguments

2012-07-02 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8335 Summary: DMD ignoring ref for array arguments Product: D Version: D2 Platform: All OS/Version: All Status: NEW Severity: normal Priority: P2 Component: DMD

[Issue 7579] Disabled postblit ignored and not called by all array operations

2012-07-02 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7579 Denis Shelomovskij changed: What|Removed |Added Keywords||wrong-code Summary|disa

[Issue 7579] disabled postblit not checked for array appending

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

[Issue 4936] Better error when type inference fails due to incorrect template parameter type

2012-07-02 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=4936 Bernard Helyer changed: What|Removed |Added CC||blood.of.l...@gmail.com --- Comment #

[Issue 7965] Invalid outer function scope pointer in some cases

2012-07-02 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7965 --- Comment #5 from Denis Shelomovskij 2012-07-02 12:43:33 MSD --- Reduced test-case: --- struct S { string str; uint unused1, unused2 = 0; } auto f(alias fun)() { struct Result { S s; this(S _s) { s = _s; }

[Issue 7965] Invalid outer function scope pointer in some cases

2012-07-02 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7965 --- Comment #4 from Denis Shelomovskij 2012-07-02 12:15:37 MSD --- I think this bug may be fixed when `std.algorithm` will work. Example mentioned in this issue description (now fails): --- import std.array; import std.algorithm; void main()

[Issue 5926] D2 shows empty command line on Windows 98 SE

2012-07-02 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=5926 Denis Shelomovskij changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|