Jump to page: 1 2
Thread overview
[Issue 21169] make checkedint as a drop-in replacement of native int/long
Aug 17, 2020
Dlang Bot
Aug 17, 2020
mw
Aug 24, 2020
mw
Sep 10, 2020
Dlang Bot
Mar 24, 2021
Nathan S.
Mar 24, 2021
Nathan S.
Mar 24, 2021
Nathan S.
Mar 24, 2021
Nathan S.
Mar 24, 2021
Nathan S.
Dec 17, 2022
Iain Buclaw
August 17, 2020
https://issues.dlang.org/show_bug.cgi?id=21169

moonlightsentinel@disroot.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |moonlightsentinel@disroot.o
                   |                            |rg

--- Comment #1 from moonlightsentinel@disroot.org ---
Note that 5. is invalid, the native version errors with `-preview=nosharedaccess`

--
August 17, 2020
https://issues.dlang.org/show_bug.cgi?id=21169

--- Comment #2 from Dlang Bot <dlang-bot@dlang.rocks> ---
@quickfur created dlang/phobos pull request #7599 "std.experimental.checkedint should support chain assignment." mentioning this issue:

- std.experimental.checkedint should support chain assignment.

  Cf. bug #21169.

https://github.com/dlang/phobos/pull/7599

--
August 17, 2020
https://issues.dlang.org/show_bug.cgi?id=21169

--- Comment #3 from hsteoh@quickfur.ath.cx ---
Fix for issue (1): https://github.com/dlang/phobos/pull/7599

--
August 17, 2020
https://issues.dlang.org/show_bug.cgi?id=21169

--- Comment #4 from mw <mingwu@gmail.com> ---
(In reply to moonlightsentinel from comment #1)
> Note that 5. is invalid, the native version errors with `-preview=nosharedaccess`

No matter which compiler options are needed, to be able to use as an *drop-in* replacement, both checkedint and native need to behave the same under the same flag.

--
August 24, 2020
https://issues.dlang.org/show_bug.cgi?id=21169

--- Comment #5 from mw <mingwu@gmail.com> ---
more more:

8)

Warning: struct Checked has method toHash, however it cannot be called with
shared(const(Checked!(long, Abort))) this.

--
September 10, 2020
https://issues.dlang.org/show_bug.cgi?id=21169

--- Comment #6 from Dlang Bot <dlang-bot@dlang.rocks> ---
dlang/phobos pull request #7599 "std.experimental.checkedint should support chain assignment." was merged into master:

- 25493144f517b5afed630f4907fc23fe9dfc7e1e by H. S. Teoh:
  std.experimental.checkedint should support chain assignment.

  Cf. bug #21169.

https://github.com/dlang/phobos/pull/7599

--
March 24, 2021
https://issues.dlang.org/show_bug.cgi?id=21169

Nathan S. <n8sh.secondary@hotmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Depends on|                            |21758


Referenced Issues:

https://issues.dlang.org/show_bug.cgi?id=21758
[Issue 21758] std.experimental.checkedint opBinaryRight with integer left-hand
side does not compile for any operations except + and -
--
March 24, 2021
https://issues.dlang.org/show_bug.cgi?id=21169

Nathan S. <n8sh.secondary@hotmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Depends on|                            |18024


Referenced Issues:

https://issues.dlang.org/show_bug.cgi?id=18024
[Issue 18024] checkedint.Abort and checkedint.Warn should be @safe
--
March 24, 2021
https://issues.dlang.org/show_bug.cgi?id=21169
Issue 21169 depends on issue 21758, which changed state.

Issue 21758 Summary: std.experimental.checkedint opBinaryRight with integer left-hand side does not compile for any operators except + and -
https://issues.dlang.org/show_bug.cgi?id=21758

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--
March 24, 2021
https://issues.dlang.org/show_bug.cgi?id=21169

Nathan S. <n8sh.secondary@hotmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Depends on|                            |21759


Referenced Issues:

https://issues.dlang.org/show_bug.cgi?id=21759
[Issue 21759] std.experimental.checkedint.Checked is not compatible with "%d"
and "%x" integer format specifiers
--
« First   ‹ Prev
1 2