[Issue 21043] Diagnostic for autogenerated opAssign needs to improve
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Mon Apr 17 13:04:33 UTC 2023
https://issues.dlang.org/show_bug.cgi?id=21043
RazvanN <razvan.nitu1305 at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
CC| |razvan.nitu1305 at gmail.com
Resolution|--- |FIXED
--- Comment #1 from RazvanN <razvan.nitu1305 at gmail.com> ---
The error is now:
test.d(9): Error: `@safe` function `D main` cannot call `@system` generated
function `test.S.opAssign`
test.d(3): which calls `test.S.~this`
test.d(1): `test.S.opAssign` is declared here
So this seems to have been fixed.
--
More information about the Digitalmars-d-bugs
mailing list