Commit fe84774
authored
[spec/function] Fix Safe Interface definition (#3789)
* [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.
* Add link to delegates1 parent f61c6da commit fe84774
1 file changed
+6
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3906 | 3906 | | |
3907 | 3907 | | |
3908 | 3908 | | |
3909 | | - | |
3910 | | - | |
| 3909 | + | |
| 3910 | + | |
| 3911 | + | |
3911 | 3912 | | |
3912 | 3913 | | |
3913 | 3914 | | |
3914 | 3915 | | |
3915 | 3916 | | |
3916 | | - | |
3917 | | - | |
| 3917 | + | |
| 3918 | + | |
3918 | 3919 | | |
3919 | 3920 | | |
3920 | | - | |
| 3921 | + | |
3921 | 3922 | | |
3922 | 3923 | | |
3923 | 3924 | | |
| |||
0 commit comments