[Issue 5868] static attribute ignored with public static {} blocks

2012-01-26 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=5868 --- Comment #9 from bearophile_h...@eml.cc 2012-01-26 18:07:08 PST --- (In reply to comment #7) > There's nothing technically wrong with it, but it's misleading. I think here there's material for a diagnostic enhancement request. (In reply to

[Issue 5868] static attribute ignored with public static {} blocks

2012-01-26 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=5868 Jonathan M Davis changed: What|Removed |Added CC||jmdavisp...@gmx.com --- Comment #8

[Issue 5868] static attribute ignored with public static {} blocks

2012-01-26 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=5868 --- Comment #7 from hst...@quickfur.ath.cx 2012-01-26 17:44:20 PST --- There's nothing technically wrong with it, but it's misleading. When you write: class A { int x; this(int) { ... } static { int y; this(uint) {

[Issue 5868] static attribute ignored with public static {} blocks

2012-01-26 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=5868 --- Comment #6 from Walter Bright 2012-01-26 17:19:02 PST --- I don't think there's anything wrong with the current setup. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail beca

[Issue 6780] Templated global property functions do not work

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

[Issue 6738] Can't call templatized property function from within a struct/class method

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

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

2012-01-26 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=620 Walter Bright changed: What|Removed |Added Version|0.175 |D1 --- Comment #7 from Walter Bright 2

[Issue 7019] implicit constructors are inconsistently allowed

2012-01-26 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7019 mail.mantis...@gmail.com changed: What|Removed |Added CC||mail.mantis...@gmail.com ---

[Issue 5868] static attribute ignored with public static {} blocks

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

[Issue 5868] static attribute ignored with public static {} blocks

2012-01-26 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=5868 --- Comment #4 from hst...@quickfur.ath.cx 2012-01-26 12:35:32 PST --- So the right syntax is: class A { static { ... static this() { ... } ... } } ? Or alternatively class A { static { ... } static th

[Issue 5868] static attribute ignored with public static {} blocks

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

[Issue 7372] (Regression git) wrong error: undefined identifier

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

[Issue 7374] New: stdin.byLine() throws AssertError on empty input

2012-01-26 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7374 Summary: stdin.byLine() throws AssertError on empty input Product: D Version: D2 Platform: x86_64 OS/Version: Linux Status: NEW Severity: normal Priority: P2

[Issue 6780] Templated global property functions do not work

2012-01-26 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=6780 --- Comment #2 from github-bugzi...@puremagic.com 2012-01-26 12:06:27 PST --- Commit pushed to master at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/a08a5bb9394c3b46e3cca6bee1c90922bc0e9da2

[Issue 6738] Can't call templatized property function from within a struct/class method

2012-01-26 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=6738 --- Comment #3 from github-bugzi...@puremagic.com 2012-01-26 12:06:13 PST --- Commit pushed to master at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/1d4438f151143fcdcb807e257959dd1d588f9048

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

2012-01-26 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=620 --- Comment #6 from github-bugzi...@puremagic.com 2012-01-26 12:06:20 PST --- Commit pushed to master at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/8bc639fb00cab9002b91a1d900ddd72f56f993a4

[Issue 7373] New: (Regression git) Renamed imports conflict with other implicitly imported symbols

2012-01-26 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7373 Summary: (Regression git) Renamed imports conflict with other implicitly imported symbols Product: D Version: D1 Platform: x86 OS/Version: Linux Status: NEW

[Issue 7019] implicit constructors are inconsistently allowed

2012-01-26 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7019 Vladimir Panteleev changed: What|Removed |Added CC||thecybersha...@gmail.com --- Comm

[Issue 7364] Better Eponymous Template syntax

2012-01-26 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7364 Jonathan M Davis changed: What|Removed |Added CC||jmdavisp...@gmx.com --- Comment #2

[Issue 7019] implicit constructors are inconsistently allowed

2012-01-26 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7019 --- Comment #5 from Trass3r 2012-01-26 19:33:22 CET --- I vote for doing the opposite of C++ and introducing a @implicit tag for constructors that are to be used in the fashion I depicted. We really need an easy way to finely control implicit c

[Issue 5868] static attribute ignored with public static {} blocks

2012-01-26 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=5868 hst...@quickfur.ath.cx changed: What|Removed |Added CC||hst...@quickfur.ath.cx --- Com

[Issue 7364] Better Eponymous Template syntax

2012-01-26 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7364 Nick Treleaven changed: What|Removed |Added CC||ntrel-pub...@yahoo.co.uk --- Comment

[Issue 7355] inout incorrectly resolved if the same type has both mutable and immutable parts

2012-01-26 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7355 --- Comment #7 from Steven Schveighoffer 2012-01-26 10:21:28 PST --- (In reply to comment #6) > (In reply to comment #5) > > Let's assume inout > > did resolve to const for foo, and the function could be called: > > > > immutable int x = 5; >

[Issue 7355] inout incorrectly resolved if the same type has both mutable and immutable parts

2012-01-26 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7355 --- Comment #6 from timon.g...@gmx.ch 2012-01-26 09:55:37 PST --- (In reply to comment #5) > (In reply to comment #3) > > > The typeof resolves to error because inout resolves to immutable. > > As I said, it should fail to match or match mutab

[Issue 5695] Problem with TypeTuple of lambdas

2012-01-26 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=5695 bearophile_h...@eml.cc changed: What|Removed |Added Status|NEW |RESOLVED Resolution|

[Issue 7355] inout incorrectly resolved if the same type has both mutable and immutable parts

2012-01-26 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7355 --- Comment #5 from Steven Schveighoffer 2012-01-26 09:36:01 PST --- (In reply to comment #3) > The typeof resolves to error because inout resolves to immutable. As I said, it should fail to match or match mutable and fail to call. I'm not

[Issue 7355] inout incorrectly resolved if the same type has both mutable and immutable parts

2012-01-26 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7355 --- Comment #4 from timon.g...@gmx.ch 2012-01-26 09:20:32 PST --- (In reply to comment #1) > My understanding is, each inout deduction from a function argument just like > pattern matching. > > Parameter type: inout( int *)* > Argum

[Issue 7355] inout incorrectly resolved if the same type has both mutable and immutable parts

2012-01-26 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7355 --- Comment #3 from timon.g...@gmx.ch 2012-01-26 09:07:23 PST --- (In reply to comment #2) > (In reply to comment #1) > > My understanding is, each inout deduction from a function argument just like > > pattern matching. > > > > Parameter type:

[Issue 7372] New: wrong error: undefined identifier

2012-01-26 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7372 Summary: wrong error: undefined identifier Product: D Version: D1 Platform: x86 OS/Version: Linux Status: NEW Severity: regression Priority: P2 Component:

[Issue 7355] inout incorrectly resolved if the same type has both mutable and immutable parts

2012-01-26 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7355 Steven Schveighoffer changed: What|Removed |Added CC||schvei...@yahoo.com --- Comment

[Issue 4149] refs displayed as pointers in gdb

2012-01-26 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=4149 Leandro Lucarella changed: What|Removed |Added CC||leandro.lucarella@sociomant

[Issue 7019] implicit constructors are inconsistently allowed

2012-01-26 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7019 --- Comment #4 from Kenji Hara 2012-01-26 06:24:43 PST --- Is this a dup of 4875? Recently Walter commented in that issue, and marked it WONTFIX. He said: > Allowing such implicit conversions works in C++, but is considered a defect by > expe

[Issue 7368] template mixin + __traits(allMembers) = Assertion 'members' failed

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

[Issue 7160] Regression(2.057): ICE(dsymbol.c:1052) ICE using __traits(derivedMembers)

2012-01-26 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7160 Kenji Hara changed: What|Removed |Added CC||tob...@pankrath.net --- Comment #3 from K

[Issue 7321] returning void considered unsafe by safety inference

2012-01-26 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7321 Kenji Hara changed: What|Removed |Added Keywords||patch, rejects-valid --- Comment #1 from

[Issue 5695] Problem with TypeTuple of lambdas

2012-01-26 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=5695 --- Comment #1 from Kenji Hara 2012-01-26 05:05:10 PST --- With 2.058head (f8887855), that code works correctly. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: --

[Issue 4504] ICE(toir.c) nested function passed by alias to nested member function

2012-01-26 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=4504 --- Comment #11 from bearophile_h...@eml.cc 2012-01-26 04:56:11 PST --- Same bug? import std.algorithm: map; void foo() { map!(x => x)([1]); } struct Bar { int opApply(int delegate(ref int) dg) { int result; foo();

[Issue 4504] ICE(toir.c) nested function passed by alias to nested member function

2012-01-26 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=4504 --- Comment #10 from bearophile_h...@eml.cc 2012-01-26 04:54:36 PST --- Same bug? import std.algorithm: map; void foo() { map!(x => x)([1]); } void main() { int opApply(int delegate(ref int) dg) { int result; foo();

[Issue 7371] New: Associative arrays as associative array keys

2012-01-26 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7371 Summary: Associative arrays as associative array keys Product: D Version: D2 Platform: x86 OS/Version: Windows Status: NEW Severity: normal Priority: P2 Co

[Issue 7355] inout incorrectly resolved if the same type has both mutable and immutable parts

2012-01-26 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7355 --- Comment #1 from Kenji Hara 2012-01-26 04:30:30 PST --- My understanding is, each inout deduction from a function argument just like pattern matching. Parameter type: inout( int *)* Argument type: mutable(immutable(int)*)* // m

[Issue 7356] Implement KeyType, ValueType for hashes in std.traits

2012-01-26 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7356 --- Comment #5 from Kenji Hara 2012-01-26 04:07:44 PST --- (In reply to comment #2) > Some have "Of", others don't. I don't see what "Of" adds, except verbosity. IMHO, it comes from the typeof() feature. First of all, and for fairness, `Strin

[Issue 7231] Segfault using opDispatch with property notation

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

[Issue 7231] Segfault using opDispatch with property notation

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

[Issue 7231] Segfault using opDispatch with property notation

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

[Issue 7296] [2.058] Regression: Cannot swap RefCounted

2012-01-26 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7296 Walter Bright changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|

[Issue 7295] Alias This + Pure + pointsTo = rejects-valid

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

[Issue 7234] Segmentation fault when using stdio

2012-01-26 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7234 Don changed: What|Removed |Added CC||clugd...@yahoo.com.au --- Comment #1 from Don 2

[Issue 6255] Add support for different base conversions in std.conv

2012-01-26 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=6255 --- Comment #6 from github-bugzi...@puremagic.com 2012-01-26 00:04:20 PST --- Commit pushed to master at https://github.com/D-Programming-Language/phobos https://github.com/D-Programming-Language/phobos/commit/bd9596f9625a6d9a196388b7c18813ccaf

[Issue 6255] Add support for different base conversions in std.conv

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

[Issue 6255] Add support for different base conversions in std.conv

2012-01-26 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=6255 --- Comment #5 from github-bugzi...@puremagic.com 2012-01-25 23:55:44 PST --- Commit pushed to master at https://github.com/D-Programming-Language/phobos https://github.com/D-Programming-Language/phobos/commit/42083000a43b569e1d368261678ebd1405