Skip to content

Commit 747a3ea

Browse files
committed
Merge remote-tracking branch 'upstream/stable' into merge_stable
2 parents 5936350 + e4cd1a7 commit 747a3ea

File tree

2 files changed

+31
-6
lines changed

2 files changed

+31
-6
lines changed

changelog/2.109.0_pre.dd

Lines changed: 30 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ $(CHANGELOG_NAV_INJECT)
55
$(VERSION Jun 01, 2024, =================================================,
66

77
$(CHANGELOG_HEADER_STATISTICS
8-
$(VER) comes with 14 major changes and 22 fixed Bugzilla issues.
8+
$(VER) comes with 15 major changes and 24 fixed Bugzilla issues.
99
A huge thanks goes to the
1010
$(LINK2 #contributors, 41 contributors)
1111
who made $(VER) possible.)
@@ -17,6 +17,7 @@ $(LI $(RELATIVE_LINK2 dmd.bitfield-introspection,Add Bitfield Introspection Capa
1717
$(LI $(RELATIVE_LINK2 dmd.ctfeWrite,Added `__ctfeWrite` to write messages from CTFE))
1818
$(LI $(RELATIVE_LINK2 dmd.deprecation-limit,Deprecation warnings are now also limited by `-verrors`))
1919
$(LI $(RELATIVE_LINK2 dmd.dtoh-windows,dtoh generates signatures for `extern(Windows)` and `extern(System)` functions.))
20+
$(LI $(RELATIVE_LINK2 dmd.foreach-array-index-type,`foreach` on a dynamic array can have an index type smaller than `size_t`))
2021
$(LI $(RELATIVE_LINK2 dmd.foreach-reverse-delegate-error,`foreach_reverse` on a delegate is now an error))
2122
$(LI $(RELATIVE_LINK2 dmd.identifier-tables,Expansion of identifier tables to allow new characters to match C23 have been added along with CLI configurability))
2223
$(LI $(RELATIVE_LINK2 dmd.importc-unicode,ImportC has improved Unicode support))
@@ -153,9 +154,9 @@ void main()
153154
$(P
154155
$(CONSOLE
155156
> dmd -verrors=3 app.d
156-
app.d(7): Deprecation: function `deprecationlimit.x` is deprecated
157-
app.d(8): Deprecation: function `deprecationlimit.x` is deprecated
158-
app.d(9): Deprecation: function `deprecationlimit.x` is deprecated
157+
app.d(7): Deprecation: function `app.f` is deprecated
158+
app.d(8): Deprecation: function `app.f` is deprecated
159+
app.d(9): Deprecation: function `app.f` is deprecated
159160
1 deprecation warning omitted, use `-verrors=0` to show all
160161
)
161162
)
@@ -202,6 +203,28 @@ EXTERN_SYSTEM_BEFORE int32_t EXTERN_SYSTEM_AFTER myFriend(x);
202203
---
203204
)
204205

206+
$(LI $(LNAME2 dmd.foreach-array-index-type,`foreach` on a dynamic array can have an index type smaller than `size_t`)
207+
$(CHANGELOG_SOURCE_FILE dmd, changelog/dmd.foreach-array-index-type.dd)
208+
$(P
209+
The array length is known at compile-time for the following cases:
210+
)
211+
212+
$(P
213+
* The array is a literal
214+
* The array is a slice expression whose upper bound is known at
215+
compile-time
216+
)
217+
218+
$(P
219+
For an array `a`, the index type can be any integer type `I` where
220+
`a.length <= I.max`.
221+
)
222+
223+
$(P
224+
Other cases [are not implemented](https://issues.dlang.org/show_bug.cgi?id=24542) yet.
225+
)
226+
)
227+
205228
$(LI $(LNAME2 dmd.foreach-reverse-delegate-error,`foreach_reverse` on a delegate is now an error)
206229
$(CHANGELOG_SOURCE_FILE dmd, changelog/dmd.foreach-reverse-delegate-error.dd)
207230
$(P
@@ -488,10 +511,12 @@ $(BUGSTITLE_BUGZILLA Phobos bug fixes,
488511

489512
$(LI $(BUGZILLA 15708): std.range.choose assumes hasElaborateCopyConstructor means "has __postblit")
490513
$(LI $(BUGZILLA 24478): std.csv array out of bounds when row size exceeds header)
514+
$(LI $(BUGZILLA 24549): std.process.environment.get$(LPAREN)null$(RPAREN) segfaults)
491515
)
492516
$(BUGSTITLE_BUGZILLA Druntime bug fixes,
493517

494518
$(LI $(BUGZILLA 24517): druntime tests fail on FreeBSD 14)
519+
$(LI $(BUGZILLA 24546): importC musl setjmp.h failure)
495520
)
496521
$(BUGSTITLE_BUGZILLA dlang.org bug fixes,
497522

@@ -534,10 +559,10 @@ $(D_CONTRIBUTORS
534559
$(D_CONTRIBUTOR Paul Backus)
535560
$(D_CONTRIBUTOR Petar Kirov)
536561
$(D_CONTRIBUTOR Razvan Nitu)
537-
$(D_CONTRIBUTOR richard (rikki) andrew cattermole)
538562
$(D_CONTRIBUTOR Richard (Rikki) Andrew Cattermole)
539563
$(D_CONTRIBUTOR richard (rikki) andrew cattermole)
540564
$(D_CONTRIBUTOR Richard (Rikki) Andrew Cattermole)
565+
$(D_CONTRIBUTOR richard (rikki) andrew cattermole)
541566
$(D_CONTRIBUTOR shoo)
542567
$(D_CONTRIBUTOR Steven Schveighoffer)
543568
$(D_CONTRIBUTOR Sönke Ludwig)

download.dd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -229,7 +229,7 @@ Macros:
229229
_=BETA=$(COMMENT $0)
230230
BETA=$0
231231
B_DMDV2=2.109.0
232-
B_SUFFIX=beta.1
232+
B_SUFFIX=rc.1
233233

234234
DEB32=$(DLSITE dmd_$(DMDV2)-0_i386.deb)
235235
DEB64=$(DLSITE dmd_$(DMDV2)-0_amd64.deb)

0 commit comments

Comments
 (0)