Skip to content

Commit 9e56a6f

Browse files
ntreldlang-bot
authored andcommitted
[2.101 changelog] Fix -preview=fixImmutableConv entry
1 parent a1bcc0c commit 9e56a6f

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

changelog/2.101.0.dd

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ $(LI $(RELATIVE_LINK2 dmd.deprecate_throwing_nothrow_contracts,Throwing from con
2020
$(LI $(RELATIVE_LINK2 dmd.deprecate_version_int,Using integers for `version` or `debug` conditions has been deprecated))
2121
$(LI $(RELATIVE_LINK2 dmd.dip1000_deprecation_warnings,Print deprecations for `scope` pointer errors))
2222
$(LI $(RELATIVE_LINK2 dmd.dtoh-improvements,Improvements for the C++ header generation))
23-
$(LI $(RELATIVE_LINK2 dmd.fix-immutable-conv,`-preview=fixImmmutableConv` has been added))
23+
$(LI $(RELATIVE_LINK2 dmd.fix-immutable-conv,`-preview=fixImmutableConv` has been added))
2424
$(LI $(RELATIVE_LINK2 dmd.fix22134,Returning a discarded void value from a function is now deprecated))
2525
$(LI $(RELATIVE_LINK2 dmd.importc_typeof,ImportC now recognizes the `typeof(...)` operator))
2626
$(LI $(RELATIVE_LINK2 dmd.markdown,Removed the `-transition=markdown` and `-revert=markdown` switches))
@@ -270,10 +270,10 @@ Note: The header generator is still considered experimental, so please submit
270270
)
271271
)
272272

273-
$(LI $(LNAME2 dmd.fix-immutable-conv,`-preview=fixImmmutableConv` has been added)
273+
$(LI $(LNAME2 dmd.fix-immutable-conv,`-preview=fixImmutableConv` has been added)
274274
$(CHANGELOG_SOURCE_FILE dmd, changelog/dmd.fix-immutable-conv.dd)
275275
$(P
276-
The compiler allows implicitly converting a return value with indirections to immutable if it determines the result must be unique.
276+
The compiler allows implicitly converting a return value with indirections to immutable if it determines the result is unique.
277277
Formerly, this check would inspect the types of the indirections, and forget to take into account conversions, such as `int[]` to `void[]`:
278278
)
279279

@@ -296,7 +296,7 @@ void main()
296296
$(P
297297
This was filed as [issue 15660](https://issues.dlang.org/show_bug.cgi?id=15660), which has been fixed some time ago by making the check more strict: the called function must be strongly pure.
298298
However, to avoid breaking code, the fix was only active with the `-preview=dip1000` switch.
299-
Since it is unrelated to dip1000 (which is about `scope` pointers), the fix has been moved to a new `-preview=fixImmmutableConv` switch.
299+
Since it is unrelated to dip1000 (which is about `scope` pointers), the fix has been moved to a new `-preview=fixImmutableConv` switch.
300300
)
301301
)
302302

0 commit comments

Comments
 (0)