[Issue 6296] ICE(glue.c): invalid template instantiated in is(typeof()).

2011-09-16 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=6296 --- Comment #18 from Don 2011-09-16 03:02:04 PDT --- (In reply to comment #17) > Still in dmd-1.x branch (tested after 23846ac and fe308a1). > --- > void f(A)(A) { } > bool b = is(typeof( f(x) )); > --- Aargh, it was 6650 which was fixed, no

[Issue 3731] Can implicitly cast an immutable reference to a derived class

2011-09-16 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=3731 --- Comment #4 from Kenji Hara 2011-09-16 03:24:37 PDT --- I think issue 3731 is same as issue 5080, and the yebblies patch is a bit better than mine. See also Don and Steven's comments in 5080. -- Configure issuemail: http://d.puremagic.com

[Issue 1824] Object not const correct

2011-09-16 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=1824 Kenji Hara changed: What|Removed |Added Keywords||patch --- Comment #11 from Kenji Hara 20

[Issue 4909] Two suggestions for std.algorithm.schwartzSort()

2011-09-16 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=4909 --- Comment #1 from bearophile_h...@eml.cc 2011-09-16 04:49:47 PDT --- See also: http://www.digitalmars.com/webnews/newsgroups.php?art_group=digitalmars.D&article_id=144557 -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?ta

[Issue 1997] Better type inference for templated types

2011-09-16 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=1997 --- Comment #2 from Simen Kjaeraas 2011-09-16 08:17:12 PDT --- It is worth noting here that the workaround is to use a free function: struct Foo( T ) { T data; this( T value ) { data = value; } } Foo!T foo( T )( T value )

[Issue 4256] Inner template mathods can't access this pointer

2011-09-16 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=4256 Simen Kjaeraas changed: What|Removed |Added Keywords||wrong-code --- Comment #1 from Simen

[Issue 4961] ICE(interpret.c) Tuple in union as part of static struct member

2011-09-16 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=4961 Simen Kjaeraas changed: What|Removed |Added Status|NEW |RESOLVED Resolution|

[Issue 4909] Two suggestions for std.algorithm.schwartzSort()

2011-09-16 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=4909 Andrei Alexandrescu changed: What|Removed |Added Status|NEW |ASSIGNED CC|

[Issue 4909] Two suggestions for std.algorithm.schwartzSort()

2011-09-16 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=4909 --- Comment #3 from bearophile_h...@eml.cc 2011-09-16 09:58:00 PDT --- (In reply to comment #2) > Regarding naming, searching google etc. for schwartz sort yields relevant > results whereas key sort does not. Schwartz sort is a common name and

[Issue 4909] Two suggestions for std.algorithm.schwartzSort()

2011-09-16 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=4909 --- Comment #4 from Andrei Alexandrescu 2011-09-16 10:20:10 PDT --- (In reply to comment #3) > (In reply to comment #2) > > > Regarding naming, searching google etc. for schwartz sort yields relevant > > results whereas key sort does not. >

[Issue 6681] New: bogus duplicate union initialization or overlapping initialization errors

2011-09-16 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=6681 Summary: bogus duplicate union initialization or overlapping initialization errors Product: D Version: D1 & D2 Platform: Other OS/Version: Mac OS X Status: NEW

[Issue 4909] Two suggestions for std.algorithm.schwartzSort()

2011-09-16 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=4909 --- Comment #5 from bearophile_h...@eml.cc 2011-09-16 10:49:07 PDT --- (In reply to comment #4) > (That you unsubtly insert a typo, thus > underlining how you can't remember the right spelling?) I have not done that on purpose, I am sorry. Bu

[Issue 6275] Const values in tuples

2011-09-16 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=6275 Kenji Hara changed: What|Removed |Added Keywords||patch --- Comment #1 from Kenji Hara 201

[Issue 6275] Const values in tuples

2011-09-16 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=6275 bearophile_h...@eml.cc changed: What|Removed |Added Status|NEW |RESOLVED Resolution|

[Issue 6682] New: Template function that has lazy parameter does not inferred as pure

2011-09-16 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=6682 Summary: Template function that has lazy parameter does not inferred as pure Product: D Version: D2 Platform: All OS/Version: All Status: NEW Keywords: re

[Issue 6682] Template function that has lazy parameter is not inferred as pure

2011-09-16 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=6682 Kenji Hara changed: What|Removed |Added Keywords||patch --- Comment #1 from Kenji Hara 201

[Issue 6683] New: Skipping declaration with goto resulted in nonsense

2011-09-16 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=6683 Summary: Skipping declaration with goto resulted in nonsense Product: D Version: unspecified Platform: Other OS/Version: Linux Status: NEW Severity: minor Priority:

[Issue 6683] Skipping declaration with goto resulted in nonsense

2011-09-16 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=6683 Simen Kjaeraas changed: What|Removed |Added CC||simen.kja...@gmail.com --- Comment #1

[Issue 6683] Skipping declaration with goto resulted in nonsense

2011-09-16 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=6683 --- Comment #2 from Adam D. Ruppe 2011-09-16 17:38:52 PDT --- Is that saying "bugs in the compiler don't override the spec" or "goto over initializations at your own risk"? If it's the latter, this isn't a bug at all. (I can see how the compi

[Issue 6683] Skipping declaration with goto resulted in nonsense

2011-09-16 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=6683 --- Comment #3 from Simen Kjaeraas 2011-09-16 17:47:46 PDT --- It's the latter. Not only do you run the risk of your variables being garbage, but your code might not compile on a future compiler. (not that this has ever *not* been a problem wi

[Issue 6338] Immutability is lost for shared(immutable(T))

2011-09-16 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=6338 Jerry Quinn changed: What|Removed |Added CC||jlqu...@optonline.net --- Comment #2 fro

[Issue 6674] Regression(2.055) mixin and __traits(allMembers) generates incorrect result

2011-09-16 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=6674 Walter Bright changed: What|Removed |Added Status|NEW |RESOLVED CC|

[Issue 6352] Regression(2.054) Implicit pure/nothrow/@safe messes up delegate arrays

2011-09-16 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=6352 Walter Bright changed: What|Removed |Added Status|NEW |RESOLVED CC|

[Issue 3180] Covariance of delegates/function pointers

2011-09-16 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=3180 yebblies changed: What|Removed |Added Keywords||patch Severity|normal