https://issues.dlang.org/show_bug.cgi?id=13179
--- Comment #18 from Jacob Carlborg ---
(In reply to Jonathan M Davis from comment #15)
> Agreed. I don't think that I said otherwise. What I was trying to point out
> that is if you define opEquals, then if you use the type with an AA, then
> you'r
https://issues.dlang.org/show_bug.cgi?id=13179
--- Comment #17 from Jacob Carlborg ---
(In reply to Kenji Hara from comment #6)
> So you can just remove opCmp completely. For the struct
>
> struct TagIndex
> {
> uint tag, index;
> }
>
> In 2.066 AA will use default member-wise equality and
https://issues.dlang.org/show_bug.cgi?id=13196
--- Comment #2 from Manu ---
(In reply to Jakob Ovrum from comment #1)
> This has been discussed before, and there is even a DIP for it. See #6082.
>
> It's not so easy to do in the general case:
>
> ---
> struct S(T)
> {
> static if(is(T == bo
https://issues.dlang.org/show_bug.cgi?id=13196
Jakob Ovrum changed:
What|Removed |Added
Status|NEW |RESOLVED
CC|
https://issues.dlang.org/show_bug.cgi?id=6082
Jakob Ovrum changed:
What|Removed |Added
CC||turkey...@gmail.com
--- Comment #2 from Jakob O
https://issues.dlang.org/show_bug.cgi?id=13196
Issue ID: 13196
Summary: Infer struct/class template args from constructor args
Product: D
Version: D2
Hardware: All
OS: All
Status: NEW
Severity: enhancement
https://issues.dlang.org/show_bug.cgi?id=6725
--- Comment #35 from Walter Bright ---
(In reply to Vladimir Panteleev from comment #34)
> 200ms and 0.2s are the same thing,
> how can it be meaningful to sleep for 200ms but not for 0.2s?
0.2 cannot be represented exactly as a floating point value.
https://issues.dlang.org/show_bug.cgi?id=6725
Walter Bright changed:
What|Removed |Added
Status|REOPENED|RESOLVED
Resolution|---
https://issues.dlang.org/show_bug.cgi?id=13179
--- Comment #16 from Jonathan M Davis ---
How about this, the programmer has to declare opEquals if they define opCmp (in
order to force the programmer to be aware of the problem and choose how
opEquals should work), but we provide a way to tell the
https://issues.dlang.org/show_bug.cgi?id=13195
--- Comment #1 from Orvid King ---
Ah, woops, forgot the link to the PR which has a bit more info on this:
https://github.com/D-Programming-Language/druntime/pull/864
--
https://issues.dlang.org/show_bug.cgi?id=13195
Issue ID: 13195
Summary: Delete calls destructor but doesn't free
Product: D
Version: D2
Hardware: All
OS: All
Status: NEW
Keywords: wrong-code
Severi
https://issues.dlang.org/show_bug.cgi?id=13022
Element 126 changed:
What|Removed |Added
Status|ASSIGNED|RESOLVED
Resolution|---
https://issues.dlang.org/show_bug.cgi?id=13179
--- Comment #15 from Jonathan M Davis ---
(In reply to hsteoh from comment #14)
> But there's no reason to require toHash to be defined if the user never
> tries to use it as an AA key, even if they define opEquals.
Agreed. I don't think that I said
https://issues.dlang.org/show_bug.cgi?id=13179
--- Comment #14 from hst...@quickfur.ath.cx ---
I think the toHash issue is really only applicable if you try to use your type
as an AA key. If you never use it as an AA key, there's no reason to require
the user to define toHash just because they def
https://issues.dlang.org/show_bug.cgi?id=6725
--- Comment #34 from Vladimir Panteleev ---
(In reply to Sobirari Muhomori from comment #32)
> It's meaningful to sleep for 200ms, but not for 0.2s. When you need a better
> precision, you switch to the appropriate unit. How would you specify 1/60
> f
https://issues.dlang.org/show_bug.cgi?id=13179
--- Comment #13 from Jonathan M Davis ---
(In reply to hsteoh from comment #12)
> Nobody is talking about calling opCmp or opEquals directly here. The issue
> here is that == does not behave consistently with <, <=, >=, > when the user
> defines opCm
https://issues.dlang.org/show_bug.cgi?id=11435
yebblies changed:
What|Removed |Added
Keywords||wrong-code
CC|
https://issues.dlang.org/show_bug.cgi?id=6725
yebblies changed:
What|Removed |Added
Status|RESOLVED|REOPENED
CC|
https://issues.dlang.org/show_bug.cgi?id=11435
--- Comment #8 from safety0ff.bugz ---
I managed to work around this issue by modifying the following code from
src/backend/cod1.c: (line ~3573)
if (sz <= REGSIZE)
{ // Watch out for single byte quantities being up
// against the e
https://issues.dlang.org/show_bug.cgi?id=6725
Sobirari Muhomori changed:
What|Removed |Added
Status|REOPENED|RESOLVED
Resolution|---
https://issues.dlang.org/show_bug.cgi?id=13179
--- Comment #12 from hst...@quickfur.ath.cx ---
(In reply to Jonathan M Davis from comment #11)
[...]
> And code really shouldn't be calling opEquals or opCmp directly
> except under very rare circumstances. They're for generating overloaded
> operato
https://issues.dlang.org/show_bug.cgi?id=6725
--- Comment #31 from Jonathan M Davis ---
Okay. I was going to say that allowing stuff like seconds(.033) would encourage
a lack of precision even in cases where precision was required, and I really
didn't lie that idea, but it looks like the lack of
https://issues.dlang.org/show_bug.cgi?id=13179
--- Comment #11 from Jonathan M Davis ---
(In reply to bearophile_hugs from comment #10)
> (In reply to Jonathan M Davis from comment #9)
> > I would not expect `a == b` to _ever_ be converted to `a.opCmp(b) == 0`.
> > That's what opEquals is for.
>
https://issues.dlang.org/show_bug.cgi?id=13179
--- Comment #10 from bearophile_h...@eml.cc ---
(In reply to Jonathan M Davis from comment #9)
> I would not expect `a == b` to _ever_ be converted to `a.opCmp(b) == 0`.
> That's what opEquals is for.
Why? When opCmp returns zero it means ==. What's
https://issues.dlang.org/show_bug.cgi?id=13179
Jonathan M Davis changed:
What|Removed |Added
CC||jmdavisp...@gmx.com
--- Comment #9 from J
https://issues.dlang.org/show_bug.cgi?id=13179
hst...@quickfur.ath.cx changed:
What|Removed |Added
Status|RESOLVED|REOPENED
Resolution|INVALID
https://issues.dlang.org/show_bug.cgi?id=6725
--- Comment #30 from Jonathan M Davis ---
*** Issue 13176 has been marked as a duplicate of this issue. ***
--
https://issues.dlang.org/show_bug.cgi?id=6725
Jonathan M Davis changed:
What|Removed |Added
Status|RESOLVED|REOPENED
Resolution|DUPLICATE
https://issues.dlang.org/show_bug.cgi?id=13176
Jonathan M Davis changed:
What|Removed |Added
Status|NEW |RESOLVED
CC|
https://issues.dlang.org/show_bug.cgi?id=6725
--- Comment #28 from Jonathan M Davis ---
(In reply to Steven Schveighoffer from comment #24)
> I think this situation would not arise. Code would still (I hope) be
> comparing SysTime's or Durations, not floating point values. One just uses a
> float
https://issues.dlang.org/show_bug.cgi?id=13149
--- Comment #2 from github-bugzi...@puremagic.com ---
Commit pushed to 2.066 at https://github.com/D-Programming-Language/phobos
https://github.com/D-Programming-Language/phobos/commit/4c3ef92a238626c63fef5721ec82fa04acbed2e5
Merge pull request #2345
https://issues.dlang.org/show_bug.cgi?id=10703
yebblies changed:
What|Removed |Added
Status|NEW |RESOLVED
Resolution|---
https://issues.dlang.org/show_bug.cgi?id=11663
yebblies changed:
What|Removed |Added
CC||yebbl...@gmail.com
--- Comment #1 from yebblies
https://issues.dlang.org/show_bug.cgi?id=11740
yebblies changed:
What|Removed |Added
Status|NEW |RESOLVED
Resolution|---
https://issues.dlang.org/show_bug.cgi?id=12164
yebblies changed:
What|Removed |Added
Keywords||pull
Hardware|All
https://issues.dlang.org/show_bug.cgi?id=13158
--- Comment #4 from github-bugzi...@puremagic.com ---
Commit pushed to 2.066 at https://github.com/D-Programming-Language/dmd
https://github.com/D-Programming-Language/dmd/commit/2b6d7091f9407bc2fc855b050d15a0cb11ca572c
Merge pull request #3793 from
https://issues.dlang.org/show_bug.cgi?id=13089
--- Comment #3 from github-bugzi...@puremagic.com ---
Commit pushed to 2.066 at https://github.com/D-Programming-Language/dmd
https://github.com/D-Programming-Language/dmd/commit/82a80a9ebbc30e894d9fe01ae55e6d8145aae24b
Merge pull request #3738 from
https://issues.dlang.org/show_bug.cgi?id=13182
--- Comment #9 from github-bugzi...@puremagic.com ---
Commit pushed to 2.066 at https://github.com/D-Programming-Language/dmd
https://github.com/D-Programming-Language/dmd/commit/7602561892bf1722f82cdff8f66e7480364b4d82
Merge pull request #3797 from
https://issues.dlang.org/show_bug.cgi?id=12057
--- Comment #8 from github-bugzi...@puremagic.com ---
Commit pushed to 2.066 at https://github.com/D-Programming-Language/dmd
https://github.com/D-Programming-Language/dmd/commit/118e1a8df6888d4f2f2d1900a68b1d516ff63b6f
Merge pull request #3794 from
https://issues.dlang.org/show_bug.cgi?id=13180
--- Comment #3 from github-bugzi...@puremagic.com ---
Commit pushed to 2.066 at https://github.com/D-Programming-Language/dmd
https://github.com/D-Programming-Language/dmd/commit/b5befe0c19e3c09402358df0e2f71da64b0d7f6c
Merge pull request #3801 from
https://issues.dlang.org/show_bug.cgi?id=145
--- Comment #6 from github-bugzi...@puremagic.com ---
Commit pushed to 2.066 at https://github.com/D-Programming-Language/dmd
https://github.com/D-Programming-Language/dmd/commit/6129d4b5baf84afd32ac3cafd35c60abad9c0bb6
Merge pull request #3802 from ib
https://issues.dlang.org/show_bug.cgi?id=6725
--- Comment #27 from Steven Schveighoffer ---
(In reply to Sobirari Muhomori from comment #25)
> (In reply to Steven Schveighoffer from comment #22)
> >
> > I think this is an exaggeration. It works in nearly all cases, since the
> > least significan
https://issues.dlang.org/show_bug.cgi?id=13179
Kenji Hara changed:
What|Removed |Added
Status|NEW |RESOLVED
Resolution|---
https://issues.dlang.org/show_bug.cgi?id=13179
--- Comment #6 from Kenji Hara ---
(In reply to Jacob Carlborg from comment #5)
> opCmp was added because of a regression in 2.065.0 and now it's changed
> again.
So you can just remove opCmp completely. For the struct
struct TagIndex
{
uint ta
https://issues.dlang.org/show_bug.cgi?id=13181
Kenji Hara changed:
What|Removed |Added
Status|NEW |RESOLVED
Resolution|---
https://issues.dlang.org/show_bug.cgi?id=13171
github-bugzi...@puremagic.com changed:
What|Removed |Added
Status|NEW |RESOLVED
Resolution|-
https://issues.dlang.org/show_bug.cgi?id=13171
--- Comment #2 from github-bugzi...@puremagic.com ---
Commits pushed to master at https://github.com/D-Programming-Language/phobos
https://github.com/D-Programming-Language/phobos/commit/a6da3ece0668b3dcbdb2f6bf15517a4cfa53a579
fix Issue 13171 - std.
https://issues.dlang.org/show_bug.cgi?id=13190
yebblies changed:
What|Removed |Added
Keywords||pull
--- Comment #2 from yebblies ---
https://gi
https://issues.dlang.org/show_bug.cgi?id=13190
--- Comment #1 from yebblies ---
Quick fix is to disable the block in cgsched.c that has comment "make sure
CFpsw is reliably set". Turns out CFpsw is _not_ reliably set.
--
https://issues.dlang.org/show_bug.cgi?id=13180
--- Comment #2 from github-bugzi...@puremagic.com ---
Commits pushed to master at https://github.com/D-Programming-Language/dmd
https://github.com/D-Programming-Language/dmd/commit/31d3eb7f191a6549d45e9e2f67afd82c22cd7399
fix Issue 13180 - AA get ret
https://issues.dlang.org/show_bug.cgi?id=13194
Kenji Hara changed:
What|Removed |Added
Keywords||ice, pull
Status|NEW
https://issues.dlang.org/show_bug.cgi?id=6725
--- Comment #26 from Vladimir Panteleev ---
(In reply to Sobirari Muhomori from comment #25)
> That's an overengineered interface and should be done in your code.
> Fractions of timeouts are practically indiscernible, nobody would need to
> specify it
https://issues.dlang.org/show_bug.cgi?id=145
--- Comment #5 from github-bugzi...@puremagic.com ---
Commit pushed to master at https://github.com/D-Programming-Language/dmd
https://github.com/D-Programming-Language/dmd/commit/b4335c9d3eae1640d42e152894b2b9ec95d5828d
Merge pull request #3802 from i
https://issues.dlang.org/show_bug.cgi?id=13194
Ketmar Dark changed:
What|Removed |Added
CC||ket...@ketmar.no-ip.org
--- Comment #1 from Ke
https://issues.dlang.org/show_bug.cgi?id=13180
Kenji Hara changed:
What|Removed |Added
Keywords||pull
--- Comment #1 from Kenji Hara ---
https:
https://issues.dlang.org/show_bug.cgi?id=13194
Issue ID: 13194
Summary: ICE when static class members initialized to void
Product: D
Version: D2
Hardware: All
OS: All
Status: NEW
Severity: normal
P
https://issues.dlang.org/show_bug.cgi?id=13137
yebblies changed:
What|Removed |Added
CC||yebbl...@gmail.com
--- Comment #1 from yebblies
https://issues.dlang.org/show_bug.cgi?id=13182
--- Comment #8 from github-bugzi...@puremagic.com ---
Commits pushed to master at https://github.com/D-Programming-Language/dmd
https://github.com/D-Programming-Language/dmd/commit/d2328d90739f205e176603519ffe8e65a60247ef
Fix Issue 13182 - extern(C++
58 matches
Mail list logo