[Issue 3492] Can't overload nested functions

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

[Issue 7084] Missing writeln Unicode normalization

2012-02-26 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7084 --- Comment #3 from hst...@quickfur.ath.cx 2012-02-26 22:22:24 PST --- Here's a link to the relevant part of the Unicode standard for whoever wants to implement normalization: http://unicode.org/reports/tr15/ Note that there are several differ

[Issue 3492] Can't overload nested functions

2012-02-26 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=3492 --- Comment #4 from Walter Bright 2012-02-26 22:13:25 PST --- The reason is straightforward - there's no point to it. Nested functions tend to be right next to where they are used. They're not off in a separate file. We shouldn't have feature

[Issue 3492] Can't overload nested functions

2012-02-26 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=3492 --- Comment #3 from Walter Bright 2012-02-26 22:04:30 PST --- The reason is straightforward - there's no point to it. Nested functions tend to be right next to where they are used. They're not off in a separate file. We shouldn't have feature

[Issue 7525] [2.058 regression] Broken return type inference for delegate returns

2012-02-26 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7525 --- Comment #3 from github-bugzi...@puremagic.com 2012-02-26 21:37:19 PST --- Commit pushed to master at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/53b1a0461b485c1260514094e2164bd749f3f6d0

[Issue 7502] 2.056 regression: Assigning .init takes forever to compile for large structs

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

[Issue 7502] 2.056 regression: Assigning .init takes forever to compile for large structs

2012-02-26 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7502 --- Comment #1 from github-bugzi...@puremagic.com 2012-02-26 21:34:55 PST --- Commit pushed to master at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/3f88f156879841ef79162916b2dbbf28e2a1fcc3

[Issue 6856] Preconditions are not inherited

2012-02-26 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=6856 Jesse Phillips changed: What|Removed |Added CC||jesse.k.phillip...@gmail.co

[Issue 7598] New: format() doesn't work with alias this

2012-02-26 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7598 Summary: format() doesn't work with alias this Product: D Version: D2 Platform: All OS/Version: All Status: NEW Severity: normal Priority: P2 Component: Ph

[Issue 7471] Improve performance of std.regex

2012-02-26 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7471 --- Comment #6 from Jesse Phillips 2012-02-26 18:03:06 PST --- After moving the regex to outside the loop and I think some other changes it helped immensely. Declaring them as module variables didn't seem to gain any more. I didn't have much t

[Issue 7597] New: Statically disallow a init() method in structs

2012-02-26 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7597 Summary: Statically disallow a init() method in structs Product: D Version: D2 Platform: All OS/Version: All Status: NEW Keywords: accepts-invalid Severity: enhance

[Issue 7084] Missing writeln Unicode normalization

2012-02-26 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7084 bearophile_h...@eml.cc changed: What|Removed |Added Severity|normal |enhancement --- Comment #2 fro

[Issue 5783] Const Tuple equality

2012-02-26 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=5783 --- Comment #3 from bearophile_h...@eml.cc 2012-02-26 14:52:17 PST --- *** Issue 7586 has been marked as a duplicate of this issue. *** -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving thi

[Issue 7586] Equality lambda inference problem on tuples

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

[Issue 3492] Can't overload nested functions

2012-02-26 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=3492 Andrej Mitrovic changed: What|Removed |Added CC||andrej.mitrov...@gmail.com --- Comme

[Issue 7596] New: traits compiles can't detect non-copyable errors

2012-02-26 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7596 Summary: traits compiles can't detect non-copyable errors Product: D Version: D2 Platform: All OS/Version: All Status: NEW Severity: normal Priority: P2 Co

[Issue 7595] Data being overwritten.

2012-02-26 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7595 Lukasz Wrzosek changed: What|Removed |Added CC||luk.wrzo...@gmail.com --- Comment #1

[Issue 7595] New: Data being overwritten.

2012-02-26 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7595 Summary: Data being overwritten. Product: D Version: D2 Platform: All OS/Version: All Status: NEW Severity: regression Priority: P2 Component: DMD

[Issue 4814] rdmd: Doesn't rebuild when using -of and turning an -L linker option on or off

2012-02-26 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=4814 d...@dawgfoto.de changed: What|Removed |Added CC||d...@dawgfoto.de --- Comment #2 from

[Issue 5523] std.regex handles "\s" and "\W" (etc.) inside square brackets improperly

2012-02-26 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=5523 Dmitry Olshansky changed: What|Removed |Added Status|NEW |RESOLVED CC|

[Issue 7554] Immutable function pointer arguments too

2012-02-26 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7554 --- Comment #2 from bearophile_h...@eml.cc 2012-02-26 10:58:27 PST --- (In reply to comment #1) > I think making inner() pure isn't necessary. In this program I want inner() to be pure. -- Configure issuemail: http://d.puremagic.com/issues/us

[Issue 6856] Preconditions are not inherited

2012-02-26 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=6856 --- Comment #20 from timon.g...@gmx.ch 2012-02-26 10:30:17 PST --- (In reply to comment #19) > (In reply to comment #17) > > That assumption is bogus, because this is almost never the case. > > It makes contract programming basically unusable.

[Issue 6856] Preconditions are not inherited

2012-02-26 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=6856 --- Comment #19 from Stewart Gordon 2012-02-26 09:15:32 PST --- (In reply to comment #17) > That assumption is bogus, because this is almost never the case. > It makes contract programming basically unusable. Such a strong > weakening of th

[Issue 7590] no error with missing template parameter

2012-02-26 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7590 Trass3r changed: What|Removed |Added Status|NEW |RESOLVED Resolution|

[Issue 6856] Preconditions are not inherited

2012-02-26 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=6856 --- Comment #18 from deadalnix 2012-02-26 08:46:45 PST --- (In reply to comment #17) > Don's proposal is to remove 'in' contract widening completely. That does not > make a lot of sense to me. Don's proposal is similar to what you reported her

[Issue 5304] Cannot access __dollar in pure function

2012-02-26 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=5304 kenn...@gmail.com changed: What|Removed |Added Status|NEW |RESOLVED Platform|x86

[Issue 7594] xmm ops use actual addition/subtraction when evaluating real+imaginary

2012-02-26 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7594 yebblies changed: What|Removed |Added Keywords||pull --- Comment #1 from yebblies 2012-02-

[Issue 7592] Conversion from ireal to ifloat broken when using xmm

2012-02-26 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7592 yebblies changed: What|Removed |Added Keywords||pull, wrong-code --- Comment #1 from yebbli

[Issue 7593] cfloat to cdouble conversion is broken when using xmm

2012-02-26 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7593 yebblies changed: What|Removed |Added Keywords||pull --- Comment #1 from yebblies 2012-02-

[Issue 4155] return of NaN to temporary fails equality test

2012-02-26 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=4155 yebblies changed: What|Removed |Added Version|unspecified |D1 & D2 --- Comment #2 from yebblies 2012-

[Issue 7581] Compiler uses wrong instructions to move complex value from ST to xmm registers

2012-02-26 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7581 --- Comment #2 from yebblies 2012-02-27 03:37:39 EST --- New pull https://github.com/D-Programming-Language/dmd/pull/769 -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail becaus

[Issue 7591] Wrong const-folding comparisons involving complex nans

2012-02-26 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7591 yebblies changed: What|Removed |Added Keywords||pull --- Comment #1 from yebblies 2012-02-

[Issue 5625] std.format unittest disabled

2012-02-26 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=5625 yebblies changed: What|Removed |Added Keywords||wrong-code CC|

[Issue 6856] Preconditions are not inherited

2012-02-26 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=6856 --- Comment #17 from timon.g...@gmx.ch 2012-02-26 08:30:09 PST --- (In reply to comment #16) > (In reply to comment #15) > > There is no "B's in". That is the point. The bug is that an implicit 'in' > > contract that always passes is added to B.

[Issue 7584] contract checking is too conservative for inherited contracts

2012-02-26 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7584 --- Comment #5 from deadalnix 2012-02-26 08:28:57 PST --- (In reply to comment #4) > LSP is not violated. That is the point. The rules proposed here are sufficient > to guarantee LSP. The rules that are currently employed are too conservative.

[Issue 7500] [ICE] (template.c line 5287) with immutable lambda function

2012-02-26 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7500 Kenji Hara changed: What|Removed |Added Keywords||ice, pull --- Comment #2 from Kenji Hara

[Issue 7594] New: xmm ops use actual addition/subtraction when evaluating real+imaginary

2012-02-26 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7594 Summary: xmm ops use actual addition/subtraction when evaluating real+imaginary Product: D Version: D1 & D2 Platform: All OS/Version: All Status: NEW Keyw

[Issue 7554] Immutable function pointer arguments too

2012-02-26 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7554 --- Comment #1 from Kenji Hara 2012-02-26 08:23:38 PST --- I think making inner() pure isn't necessary. Following raises no error and works as expected. T outer(T)(T function(in T) pure foo) pure { int inner() { return foo(5);

[Issue 7593] New: cfloat to cdouble conversion is broken when using xmm

2012-02-26 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7593 Summary: cfloat to cdouble conversion is broken when using xmm Product: D Version: D1 & D2 Platform: All OS/Version: All Status: NEW Keywords: wrong-code Severity:

[Issue 7584] contract checking is too conservative for inherited contracts

2012-02-26 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7584 --- Comment #4 from timon.g...@gmx.ch 2012-02-26 08:17:35 PST --- LSP is not violated. That is the point. The rules proposed here are sufficient to guarantee LSP. The rules that are currently employed are too conservative. Think about it. void

[Issue 7592] New: Conversion from ireal to ifloat broken when using xmm

2012-02-26 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7592 Summary: Conversion from ireal to ifloat broken when using xmm Product: D Version: D1 & D2 Platform: All OS/Version: All Status: NEW Severity: major Priority: P2

[Issue 7591] New: Wrong const-folding comparisons involving complex nans

2012-02-26 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7591 Summary: Wrong const-folding comparisons involving complex nans Product: D Version: D1 & D2 Platform: All OS/Version: All Status: NEW Keywords: wrong-code Severity:

[Issue 7590] no error with missing template parameter

2012-02-26 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7590 --- Comment #2 from Kenji Hara 2012-02-26 07:57:46 PST --- D parser simply ignores almost of unnecessary last comma in list like follows. enum E { A = 0, B, C, } // last comma is ignored void func(int x, int y, ){} // last comma is ignored

[Issue 6856] Preconditions are not inherited

2012-02-26 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=6856 --- Comment #16 from deadalnix 2012-02-26 07:43:52 PST --- (In reply to comment #15) > There is no "B's in". That is the point. The bug is that an implicit 'in' > contract that always passes is added to B.foo. Yes that is the point. As no cont

[Issue 7585] functions in templates inferred as delegate

2012-02-26 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7585 Kenji Hara changed: What|Removed |Added Keywords||pull, rejects-valid --- Comment #2 from K

[Issue 7590] no error with missing template parameter

2012-02-26 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7590 --- Comment #1 from Trass3r 2012-02-26 16:35:38 CET --- NB: The problem is B isn't defined. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---

[Issue 7584] contract checking is too conservative for inherited contracts

2012-02-26 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7584 --- Comment #3 from deadalnix 2012-02-26 07:35:07 PST --- (In reply to comment #2) > Again, give an example. Your claim is not true. In Foo, you sated, by contract, that the function must return 0. Any piece of code using an object of type Foo

[Issue 7590] New: no error with missing template parameter

2012-02-26 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7590 Summary: no error with missing template parameter Product: D Version: D2 Platform: All OS/Version: All Status: NEW Keywords: accepts-invalid Severity: normal

[Issue 7471] Improve performance of std.regex

2012-02-26 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7471 --- Comment #5 from Dmitry Olshansky 2012-02-26 06:32:30 PST --- Anyway how compares of 2.056-2.058 when you don't create regex objects inside tight loop? It is a strange thing to do at any circumstances, even N-slot caching you pay some extra

[Issue 6856] Preconditions are not inherited

2012-02-26 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=6856 --- Comment #15 from timon.g...@gmx.ch 2012-02-26 05:11:34 PST --- There is no "B's in". That is the point. The bug is that an implicit 'in' contract that always passes is added to B.foo. -- Configure issuemail: http://d.puremagic.com/issues/u

[Issue 7584] contract checking is too conservative for inherited contracts

2012-02-26 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7584 --- Comment #2 from timon.g...@gmx.ch 2012-02-26 05:03:25 PST --- Again, give an example. Your claim is not true. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: --

[Issue 6856] Preconditions are not inherited

2012-02-26 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=6856 deadalnix changed: What|Removed |Added CC||deadal...@gmail.com --- Comment #14 from d

[Issue 7584] contract checking is too conservative for inherited contracts

2012-02-26 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7584 deadalnix changed: What|Removed |Added CC||deadal...@gmail.com --- Comment #1 from de

[Issue 7563] Class members with default template arguments have no type

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

[Issue 7589] New: __traits(compiles) does not work with a template that fails to compile

2012-02-26 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7589 Summary: __traits(compiles) does not work with a template that fails to compile Product: D Version: D2 Platform: All OS/Version: All Status: NEW Keywords:

[Issue 7525] [2.058 regression] Broken return type inference for delegate returns

2012-02-26 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7525 Kenji Hara changed: What|Removed |Added Keywords||pull, rejects-valid Summary|Bro

[Issue 7471] Improve performance of std.regex

2012-02-26 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7471 --- Comment #4 from Dmitry Olshansky 2012-02-26 02:22:02 PST --- Profiling shows that about 99% of time is spent in GC, ouch. What's at work here is that new regex engine is more costly to create and allocates a bunch of structures on heap. Th

[Issue 7582] Untyped nested delegate literals don't compile

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