[Issue 24098] Safe variable can be initialized from `@system` static constructor.
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Sat Mar 30 10:24:29 UTC 2024
https://issues.dlang.org/show_bug.cgi?id=24098
--- Comment #5 from Dlang Bot <dlang-bot at dlang.rocks> ---
dlang/dlang.org pull request #3789 "[spec/function] Fix Safe Interface
definition" was merged into master:
- e3fd3f0e5bebb9884e05a1bc9031176a682df365 by Nick Treleaven:
[spec] Fix Safe interface definition
1. Mention context and globals for preconditions.
Part of Bugzilla 24098 - Safe variable can be initialized from `@system`
static constructor.
2. `@trusted` functions can create unsafe values/aliasing so long as they
are not accessible from `@safe` code.
https://github.com/dlang/dlang.org/pull/3789
--
More information about the Digitalmars-d-bugs
mailing list