[Issue 23957] Casting to derived extern(C++) class is unsafe

2023-07-14 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=23957

--- Comment #4 from Dlang Bot  ---
@ntrel updated dlang/dmd pull request #15293 "Disallow dynamic cast to
extern(C++) class" fixing this issue:

- Fix Issue 23957 - Casting to derived extern(C++) class is unsafe

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

--


[Issue 23957] Casting to derived extern(C++) class is unsafe

2023-06-10 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=23957

--- Comment #3 from Nick Treleaven  ---
The above pull is unrelated, and has been removed from its commit message.

--


[Issue 23957] Casting to derived extern(C++) class is unsafe

2023-06-10 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=23957

--- Comment #2 from Dlang Bot  ---
@ntrel updated dlang/dlang.org pull request #3619 "[spec/function] Improve
`return` struct method attribute docs" fixing this issue:

- [spec/function] Document `return` parameters without `scope`

  Fixes Issue 23957 - Casting to derived extern(C++) class is unsafe.
  Part of Issue 17934 - [scope] scopeness entrypoint for unique/ref-counted
  missing.

  Add 'Struct Return Methods' subheading.

https://github.com/dlang/dlang.org/pull/3619

--


[Issue 23957] Casting to derived extern(C++) class is unsafe

2023-06-03 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=23957

Dlang Bot  changed:

   What|Removed |Added

   Keywords||pull

--- Comment #1 from Dlang Bot  ---
@ntrel created dlang/dmd pull request #15294 "Fix Issue 23957 - Casting to
derived extern(C++) class is unsafe" fixing this issue:

- Fix Issue 23957 - Casting to derived extern(C++) class is unsafe

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

--


[Issue 23957] Casting to derived extern(C++) class is unsafe

2023-06-03 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=23957

Nick Treleaven  changed:

   What|Removed |Added

   Keywords||safe
   See Also||https://issues.dlang.org/sh
   ||ow_bug.cgi?id=21690

--