[Issue 7177] $ should forward to length by default

2013-03-31 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7177 --- Comment #60 from bearophile_h...@eml.cc 2013-03-31 18:16:21 PDT --- (In reply to comment #59) > Yes, there is a bias - frequency. My core argument is that the vast majority > of > ranges simply want $ and length to mean the same thing, and

[Issue 7177] $ should forward to length by default

2013-03-31 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7177 --- Comment #59 from Andrei Alexandrescu 2013-03-31 17:30:22 PDT --- (In reply to comment #58) > (In reply to comment #57) > > I don't think there's any breakage. My understanding is that those > > containers > > already need to define opDoll

[Issue 4120] bigint implicit cast too bool

2013-03-31 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=4120 adamsib...@hotmail.com changed: What|Removed |Added CC||adamsib...@hotmail.com --- Com

[Issue 4120] bigint implicit cast too bool

2013-03-31 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=4120 safety0ff.b...@gmail.com changed: What|Removed |Added CC||safety0ff.b...@gmail.com ---

[Issue 6486] std.math.abs(BigInt)

2013-03-31 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=6486 safety0ff.b...@gmail.com changed: What|Removed |Added CC||safety0ff.b...@gmail.com ---

[Issue 9122] std.concurrency send() fails with multiple arrays

2013-03-31 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=9122 Martin Krejcirik changed: What|Removed |Added CC||m...@krej.cz --- Comment #3 from Ma

[Issue 9851] New: Mixed-in constructor is not taken into account during construction

2013-03-31 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=9851 Summary: Mixed-in constructor is not taken into account during construction Product: D Version: D2 Platform: All OS/Version: All Status: NEW Keywords: rej

[Issue 9850] New: Compiler support to implement efficient safe integrals

2013-03-31 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=9850 Summary: Compiler support to implement efficient safe integrals Product: D Version: D2 Platform: All OS/Version: All Status: NEW Severity: enhancement Priority: P2

[Issue 9849] New: Introduce BaseElementType and BaseRangeType

2013-03-31 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=9849 Summary: Introduce BaseElementType and BaseRangeType Product: D Version: D2 Platform: All OS/Version: All Status: NEW Severity: enhancement Priority: P2 Co

[Issue 9849] Introduce BaseElementType and BaseRangeType

2013-03-31 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=9849 --- Comment #1 from Andrej Mitrovic 2013-03-31 14:46:38 PDT --- Apologies for forgetting to include imports, add these: import std.array; import std.traits; import std.range; -- Configure issuemail: http://d.puremagic.com/issues/userprefs.c

[Issue 9848] New: Better diagnostic when type declaration was not expected

2013-03-31 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=9848 Summary: Better diagnostic when type declaration was not expected Product: D Version: D2 Platform: All OS/Version: All Status: NEW Keywords: diagnostic

[Issue 9847] ICE on CTFE literal cast(uint) on DMD 2.062

2013-03-31 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=9847 Iain Buclaw changed: What|Removed |Added CC||ibuc...@ubuntu.com --- Comment #1 from I

[Issue 6474] aliasing type tuple elements' members is onerous

2013-03-31 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=6474 --- Comment #3 from Andrej Mitrovic 2013-03-31 13:36:42 PDT --- Just pasting this here as I've ran into it again: template test(T, Preds...) { enum bool test = Preds[0]!T; // error: semicolon expected, not '!' } A workaround is to use a

[Issue 7177] $ should forward to length by default

2013-03-31 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7177 --- Comment #58 from Kenji Hara 2013-03-31 12:09:31 PDT --- (In reply to comment #57) > I don't think there's any breakage. My understanding is that those containers > already need to define opDollar. If opDollar is defined there is no change

[Issue 9788] -profile doesn't work if exceptions are thrown in the running program

2013-03-31 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=9788 Walter Bright changed: What|Removed |Added Status|NEW |RESOLVED Version|D2

[Issue 9788] -profile doesn't work if exceptions are thrown in the running program

2013-03-31 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=9788 --- Comment #3 from github-bugzi...@puremagic.com 2013-03-31 11:38:39 PDT --- Commit pushed to dmd-1.x at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/db81d201159ba4a44c286173db871473d640299

[Issue 9847] New: ICE on CTFE literal cast(uint) on DMD 2.062

2013-03-31 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=9847 Summary: ICE on CTFE literal cast(uint) on DMD 2.062 Product: D Version: D2 Platform: x86_64 OS/Version: All Status: NEW Severity: regression Priority: P2

[Issue 9788] -profile doesn't work if exceptions are thrown in the running program

2013-03-31 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=9788 --- Comment #2 from github-bugzi...@puremagic.com 2013-03-31 11:08:53 PDT --- Commits pushed to master at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/a1dd1ab5140fee5dbed2e18a1a952cd2d42699c

[Issue 7177] $ should forward to length by default

2013-03-31 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7177 --- Comment #57 from Andrei Alexandrescu 2013-03-31 11:04:45 PDT --- (In reply to comment #56) > (In reply to comment #55) > > @Kenji: I'm a bit unclear on your view on this. You mention you'd prefer a > > library solution but your pull reques

[Issue 9845] enum value should be able to contain forward references in global scope

2013-03-31 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=9845 Andrej Mitrovic changed: What|Removed |Added CC||andrej.mitrov...@gmail.com --- Comme

[Issue 7177] $ should forward to length by default

2013-03-31 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7177 --- Comment #56 from Kenji Hara 2013-03-31 10:21:20 PDT --- (In reply to comment #55) > @Kenji: I'm a bit unclear on your view on this. You mention you'd prefer a > library solution but your pull request seems to go for a in-compiler solution.

[Issue 7177] $ should forward to length by default

2013-03-31 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7177 --- Comment #55 from Andrei Alexandrescu 2013-03-31 09:41:17 PDT --- (In reply to comment #50) > (In reply to comment #47) > > @Kenji, shall we go for this? > > I always think that is not good to enforce particular semantics to the user > pro

[Issue 9759] compiler segfault in StructLiteral::implicitConvTo(Type*) on invalid code

2013-03-31 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=9759 Walter Bright changed: What|Removed |Added Status|NEW |RESOLVED CC|

[Issue 9759] compiler segfault in StructLiteral::implicitConvTo(Type*) on invalid code

2013-03-31 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=9759 --- Comment #2 from github-bugzi...@puremagic.com 2013-03-31 09:13:35 PDT --- Commits pushed to master at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/174c8959f57265e0b2c714fff7795f600dc3d4a

[Issue 4999] Add Kenji Hara's adaptTo() to Phobos

2013-03-31 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=4999 --- Comment #2 from Andrei Alexandrescu 2013-03-31 09:07:47 PDT --- I think we should move forward with this. Kenji, could you please convert this to a pull request? Let's review it there. I'll assign this bug to you, hope you don't mind. We

[Issue 9846] New: regression of forward references

2013-03-31 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=9846 Summary: regression of forward references Product: D Version: D2 Platform: All OS/Version: All Status: NEW Severity: regression Priority: P2 Component: DMD

[Issue 9759] compiler segfault in StructLiteral::implicitConvTo(Type*) on invalid code

2013-03-31 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=9759 Kenji Hara changed: What|Removed |Added Keywords||ice, pull --- Comment #1 from Kenji Hara

[Issue 9845] New: enum value should be able to contain forward references in global scope

2013-03-31 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=9845 Summary: enum value should be able to contain forward references in global scope Product: D Version: D2 Platform: All OS/Version: All Status: NEW Severity

[Issue 9839] std.traits.Select should be able to select symbols

2013-03-31 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=9839 Kenji Hara changed: What|Removed |Added Status|NEW |RESOLVED Resolution|

[Issue 9839] std.traits.Select should be able to select symbols

2013-03-31 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=9839 --- Comment #2 from github-bugzi...@puremagic.com 2013-03-31 05:58:56 PDT --- Commits pushed to master at https://github.com/D-Programming-Language/phobos https://github.com/D-Programming-Language/phobos/commit/320b73a39d3950651c034a142b70d93b3

[Issue 9581] Regression (2.053): Exception takes too much time to show up

2013-03-31 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=9581 bearophile_h...@eml.cc changed: What|Removed |Added CC||bearophile_h...@eml.cc --- Com

[Issue 9843] DMD segfaults on code involving struct and union with initialization

2013-03-31 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=9843 Martin Krejcirik changed: What|Removed |Added Summary|DMD segfaults after error |DMD segfaults on code

[Issue 9548] BigInt: Wrong comparison result: BigInt("-1") > long.min

2013-03-31 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=9548 safety0ff.b...@gmail.com changed: What|Removed |Added CC||safety0ff.b...@gmail.com ---

[Issue 9839] std.traits.Select should be able to select symbols

2013-03-31 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=9839 Andrej Mitrovic changed: What|Removed |Added Keywords||pull Summary|std.traits.Se

[Issue 9581] Regression (2.053): Exception takes too much time to show up

2013-03-31 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=9581 --- Comment #17 from Andrej Mitrovic 2013-03-31 03:56:24 PDT --- Well, I'm on Win7 now and things are pretty blazing fast now. I don't experience the speed issue anymore. Maybe we could close this down unless someone else has the same issue.

[Issue 6658] Slow short array equality

2013-03-31 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=6658 --- Comment #1 from bearophile_h...@eml.cc 2013-03-31 03:29:16 PDT --- After closing Issue 9477 the situation is changed a little. On the same PC with DMD 2.063alpha the run-time with eq2() is 2.04 seconds and the run-time with eq1() is 6.37 s

[Issue 9844] DMD (-m64) int->long conversion bug

2013-03-31 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=9844 --- Comment #2 from safety0ff.b...@gmail.com 2013-03-31 02:30:52 PDT --- When passing the -O (optimize) flag, the issue does not manifest itself. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are rec

[Issue 9844] DMD (-m64) int->long conversion bug

2013-03-31 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=9844 --- Comment #1 from safety0ff.b...@gmail.com 2013-03-31 01:58:24 PDT --- Also, adding the explicit "L" integer suffix does not help. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this m

[Issue 9786] Allow [non-member|UFCS] implementation of operators

2013-03-31 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=9786 --- Comment #8 from timon.g...@gmx.ch 2013-03-31 01:47:04 PDT --- std.typecons.Proxy is incorrect because of this inconsistent behaviour of DMD: import std.conv, std.typecons; struct S{ int x; } int front(ref S s){ return s.x; } bool empt

[Issue 9477] String (and array) comparisons are needlessly very slow

2013-03-31 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=9477 --- Comment #2 from github-bugzi...@puremagic.com 2013-03-31 01:02:10 PDT --- Commits pushed to master at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/c984175cf25dfa17b3956e8e33ff83547fa56b0

[Issue 9477] String (and array) comparisons are needlessly very slow

2013-03-31 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=9477 Walter Bright changed: What|Removed |Added CC||bugzi...@digitalmars.com --- Comment #