[Issue 8162] [TDPL] -property fails to give an error when a property function is called with parens

2012-05-29 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8162 --- Comment #2 from Jonathan M Davis 2012-05-29 23:56:32 PDT --- > If strict property enforcement is implemented, S.opDispatch won't work > anymore. > Because @property is not considered by overload resolution. I believe that opDispatch alre

[Issue 8162] [TDPL] -property fails to give an error when a property function is called with parens

2012-05-29 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8162 --- Comment #1 from Kenji Hara 2012-05-29 23:49:03 PDT --- (In reply to comment #0) [snip] > shouldn't compile, since empty is a property and therefore must not compile > with parens per strict property enforcement as described in TDPL. _Not_

[Issue 8161] -property should give an error for invalid property functions

2012-05-29 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8161 --- Comment #3 from Kenji Hara 2012-05-29 23:38:53 PDT --- (In reply to comment #2) > > A @property function has two parameters is now allowed for UFCS property > > setter. > > > @property foo(T)(T obj, int val) { ... } > > void main() { > >

[Issue 8161] -property should give an error for invalid property functions

2012-05-29 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8161 --- Comment #2 from Jonathan M Davis 2012-05-29 23:30:30 PDT --- > A @property function has two parameters is now allowed for UFCS property > setter. > @property foo(T)(T obj, int val) { ... } > void main() { >S s; >s.foo = 1; // tra

[Issue 8161] -property should give an error for invalid property functions

2012-05-29 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8161 --- Comment #1 from Kenji Hara 2012-05-29 23:24:13 PDT --- (In reply to comment #0) > This code compiles with -property: > > struct S > { > @property void prop() > { > } > } > > void main() > { > } > > > It makes no sense that i

[Issue 8162] New: [TDPL] -property fails to give an error when a property function is called with parens

2012-05-29 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8162 Summary: [TDPL] -property fails to give an error when a property function is called with parens Product: D Version: unspecified Platform: All OS/Version: All Status

[Issue 8161] New: -property should give an error for invalid property functions

2012-05-29 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8161 Summary: -property should give an error for invalid property functions Product: D Version: unspecified Platform: All OS/Version: All Status: NEW Severity:

[Issue 3536] [patch] Make switch case error at unintentional fallthrough. (allow intentional fallthrough)

2012-05-29 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=3536 --- Comment #13 from Chad Joan 2012-05-29 22:30:26 PDT --- (In reply to comment #12) > (In reply to comment #11) > > Yes, it can be closed. Here ya go. > > I do appreciate the effort you put into this (especially since you've gone the > dista

[Issue 8160] New: Ddoc doesn't emit docs for manifest constants

2012-05-29 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8160 Summary: Ddoc doesn't emit docs for manifest constants Product: D Version: D2 Platform: All OS/Version: All Status: NEW Severity: normal Priority: P2 Compo

[Issue 8159] ICE: Slicing r-value static array

2012-05-29 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8159 Dmitry Olshansky changed: What|Removed |Added CC||dmitry.o...@gmail.com --- Comment #

[Issue 8159] New: ICE: Slicing r-value static array

2012-05-29 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8159 Summary: ICE: Slicing r-value static array Product: D Version: D2 Platform: x86_64 OS/Version: Mac OS X Status: NEW Severity: normal Priority: P2 Component

[Issue 8132] LPTSTR always aliases to LPSTR

2012-05-29 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8132 --- Comment #1 from github-bugzi...@puremagic.com 2012-05-29 10:09:52 PDT --- Commits pushed to master at https://github.com/D-Programming-Language/druntime https://github.com/D-Programming-Language/druntime/commit/a9bbb65ab0e69cfc25da76cdc2828

Re: compiler can't deduce template function

2012-05-29 Thread bearophile
Zhenya wrote: ... I suggest to minimize your code, and then show this problem again in the D.learn newsgroup. Bye, bearophile

[Issue 8156] Very slow compilation with string-imported file ~100 MiB

2012-05-29 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8156 --- Comment #2 from Denis Shelomovskij 2012-05-29 19:26:35 MSD --- (In reply to comment #1) > I run into longer compilation times at about 300MB but at that > point it's mainly due to paging in consecutive runs. > > Are you processing/casting

compiler can't deduce template function

2012-05-29 Thread Zhenya
import std.stdio; import std.typecons; import std.typetuple; template Erase(int k,TList...) { static if(k != 0) alias TypeTuple!(TList[0],Erase!(k-1,TList[1..$])) Erase; else alias TList[1..$] Erase; } auto Curry(uint i,R,T,U...)(R delegate(U) dg,

[Issue 8156] Very slow compilation with string-imported file ~100 MiB

2012-05-29 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8156 d...@dawgfoto.de changed: What|Removed |Added CC||d...@dawgfoto.de --- Comment #1 from

[Issue 4967] member default initializers not working in static struct initializers

2012-05-29 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=4967 Don changed: What|Removed |Added Keywords||pull --- Comment #7 from Don 2012-05-29 05:59:5

[Issue 8158] New: std.algorithm.min fails to compile with user-defined types

2012-05-29 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8158 Summary: std.algorithm.min fails to compile with user-defined types Product: D Version: unspecified Platform: All OS/Version: All Status: NEW Severity: no

[Issue 4967] member default initializers not working in static struct initializers

2012-05-29 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=4967 Don changed: What|Removed |Added CC||mrmoc...@gmx.de --- Comment #6 from Don 2012-05

[Issue 7058] static initializer for structs doesn't respect init values of members

2012-05-29 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7058 Don changed: What|Removed |Added Status|NEW |RESOLVED CC|

[Issue 6396] enums + struct initializers == wrong code

2012-05-29 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=6396 Don changed: What|Removed |Added Status|NEW |RESOLVED CC|

[Issue 7866] Type printing too for single nulls

2012-05-29 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7866 Kenji Hara changed: What|Removed |Added Status|NEW |RESOLVED Resolution|

[Issue 4967] member default initializers not working in static struct initializers

2012-05-29 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=4967 Don changed: What|Removed |Added CC||dsim...@yahoo.com --- Comment #5 from Don 2012-

[Issue 8040] writeln(null) too

2012-05-29 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8040 --- Comment #5 from Kenji Hara 2012-05-29 00:55:57 PDT --- *** Issue 7866 has been marked as a duplicate of this issue. *** -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail beca

[Issue 4967] member default initializers not working in static struct initializers

2012-05-29 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=4967 Don changed: What|Removed |Added Summary|{ } struct literals not |member default initializers |do