Thread overview
[Issue 20655] attribute inference accepts unsafe union access as @safe
Mar 09
Dlang Bot
Mar 10
Dlang Bot
Mar 10
Dlang Bot
Mar 10
Dlang Bot
Mar 10
Dlang Bot
Mar 10
ag0aep6g
Apr 27
Dlang Bot
[Issue 20655] [REG: 2.072] attribute inference accepts unsafe union access as @safe
March 09
https://issues.dlang.org/show_bug.cgi?id=20655

Dlang Bot <dlang-bot@dlang.rocks> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |pull

--- Comment #1 from Dlang Bot <dlang-bot@dlang.rocks> ---
@aG0aep6G created dlang/dmd pull request #10884 "fix issue 20655 - attribute inference accepts unsafe union access as …" fixing this issue:

- fix issue 20655 - attribute inference accepts unsafe union access as @safe

https://github.com/dlang/dmd/pull/10884

--
March 10
https://issues.dlang.org/show_bug.cgi?id=20655

--- Comment #2 from Dlang Bot <dlang-bot@dlang.rocks> ---
@aG0aep6G created dlang/druntime pull request #2982 "remove wrong @safe attributes" mentioning this issue:

- remove wrong @safe attributes

  When issue 20655 ("attribute inference accepts unsafe union access as
  @safe") is fixed, DMD correctly complains about these.

https://github.com/dlang/druntime/pull/2982

--
March 10
https://issues.dlang.org/show_bug.cgi?id=20655

--- Comment #3 from Dlang Bot <dlang-bot@dlang.rocks> ---
@aG0aep6G created dlang/phobos pull request #7418 "mark access to `value.store.str` as @trusted" mentioning this issue:

- mark access to `value.store.str` as @trusted

  When issue 20655 ("attribute inference accepts unsafe union access as
  @safe") is fixed, DMD correctly complains about the operation being unsafe.

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

--
March 10
https://issues.dlang.org/show_bug.cgi?id=20655

--- Comment #4 from Dlang Bot <dlang-bot@dlang.rocks> ---
dlang/phobos pull request #7418 "mark access to `value.store.str` as @trusted" was merged into master:

- 0bd2fa43346cbc62a202669cf87d4267b1b4aae7 by aG0aep6G:
  mark access to `value.store.str` as @trusted

  When issue 20655 ("attribute inference accepts unsafe union access as
  @safe") is fixed, DMD correctly complains about the operation being unsafe.

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

--
March 10
https://issues.dlang.org/show_bug.cgi?id=20655

--- Comment #5 from Dlang Bot <dlang-bot@dlang.rocks> ---
dlang/druntime pull request #2982 "remove wrong @safe attributes" was merged into master:

- eb53170ea40fdc90b1dec38050e8100d8f944394 by aG0aep6G:
  remove wrong @safe attributes

  When issue 20655 ("attribute inference accepts unsafe union access as
  @safe") is fixed, DMD correctly complains about these.

https://github.com/dlang/druntime/pull/2982

--
March 10
https://issues.dlang.org/show_bug.cgi?id=20655

ag0aep6g <ag0aep6g@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Depends on|                            |20661


Referenced Issues:

https://issues.dlang.org/show_bug.cgi?id=20661
[Issue 20661] opEquals not recognized for AA key (take two)
--
April 27
https://issues.dlang.org/show_bug.cgi?id=20655

--- Comment #6 from Dlang Bot <dlang-bot@dlang.rocks> ---
@ibuclaw updated dlang/druntime pull request #2871 "core.math: Re-enable disabled tests and update toPrec comment" mentioning this issue:

- remove wrong @safe attributes

  When issue 20655 ("attribute inference accepts unsafe union access as
  @safe") is fixed, DMD correctly complains about these.

https://github.com/dlang/druntime/pull/2871

--
October 03
https://issues.dlang.org/show_bug.cgi?id=20655

Steven Schveighoffer <schveiguy@yahoo.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |schveiguy@yahoo.com
            Summary|attribute inference accepts |[REG: 2.072] attribute
                   |unsafe union access as      |inference accepts unsafe
                   |@safe                       |union access as @safe
           Severity|normal                      |regression

--- Comment #7 from Steven Schveighoffer <schveiguy@yahoo.com> ---
This is a regression since 2.072.

Upping importance, this regression is 4 years old!

--