Skip to content

Commit 7a9c94c

Browse files
committed
update download and changelog for v2.096.0-rc.1
1 parent 3ec43c8 commit 7a9c94c

File tree

2 files changed

+30
-2
lines changed

2 files changed

+30
-2
lines changed

changelog/2.096.0_pre.dd

Lines changed: 29 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ $(CHANGELOG_NAV_INJECT)
55
$(VERSION Mar 08, 2021, =================================================,
66

77
$(CHANGELOG_HEADER_STATISTICS
8-
$(VER) comes with 16 major changes and 70 fixed Bugzilla issues.
8+
$(VER) comes with 17 major changes and 77 fixed Bugzilla issues.
99
A huge thanks goes to the
1010
$(LINK2 #contributors, 53 contributors)
1111
who made $(VER) possible.)
@@ -22,6 +22,7 @@ $(LI $(RELATIVE_LINK2 dtoh-improvements,Improvements for the C++ header generati
2222
$(LI $(RELATIVE_LINK2 dwarf-switch,Add `-gdwarf=<version>` switch for the DMD compiler.))
2323
$(LI $(RELATIVE_LINK2 getVisibility,Introduced `__traits(getVisibility, Sym)` as an alias to `getProtection`))
2424
$(LI $(RELATIVE_LINK2 runtime-synchronized,Plain `synchronized` statements now use run-time allocated mutexes.))
25+
$(LI $(RELATIVE_LINK2 shortfunctions,Allow shortened function implementations for single-expresssion functions.))
2526

2627
)
2728

@@ -252,6 +253,23 @@ section lazily at run-time, moving all logic out of the compiler to druntime.
252253
)
253254
)
254255

256+
$(LI $(LNAME2 shortfunctions,Allow shortened function implementations for single-expresssion functions.)
257+
$(CHANGELOG_SOURCE_FILE dmd, changelog/shortfunctions.dd)
258+
$(P
259+
`-preview=shortenedMethods` is added. This allows functions to be written in a similar form to lambda functions:
260+
)
261+
262+
---
263+
// these 2 are equivalent
264+
int foo() { return 1; }
265+
int foo() => 1;
266+
---
267+
268+
$(P
269+
The syntax allows the form `=> expr` to replace the function body `{ return expr; }`
270+
)
271+
)
272+
255273

256274
)
257275

@@ -355,13 +373,17 @@ $(CHANGELOG_SEP_TEXT_BUGZILLA)
355373

356374
$(BUGSTITLE_BUGZILLA DMD Compiler regression fixes,
357375

376+
$(LI $(BUGZILLA 20661): opEquals not recognized for AA key $(LPAREN)take two$(RPAREN))
377+
$(LI $(BUGZILLA 21319): DMD crashes on immutable circular reference)
358378
$(LI $(BUGZILLA 21547): Oder of constructor declaration affects struct initializer)
359379
)
360380
$(BUGSTITLE_BUGZILLA DMD Compiler bug fixes,
361381

362382
$(LI $(BUGZILLA 5713): Broken final switch on ints)
383+
$(LI $(BUGZILLA 10619): Wrong local variable passed as alias arguments to templates)
363384
$(LI $(BUGZILLA 11717): CTFE: non-constant value with array and vector ops.)
364385
$(LI $(BUGZILLA 13667): ICE: stack overflow using self-referencing cast inside recursive alias this method)
386+
$(LI $(BUGZILLA 14831): Each function local symbols should have unique mangled name)
365387
$(LI $(BUGZILLA 15225): cannot overload directly aliased function literals)
366388
$(LI $(BUGZILLA 16635): Alias this for implicit conversion to "ref const$(LPAREN)typeof$(LPAREN)this$(RPAREN)$(RPAREN)" causes dmd to segfault)
367389
$(LI $(BUGZILLA 17105): [ICE] SIMD Internal error with optimizations: backend\cod3.c 6807)
@@ -398,6 +420,7 @@ $(LI $(BUGZILLA 21640): @live not working with templates)
398420
$(LI $(BUGZILLA 21647): pragma$(LPAREN)msg$(RPAREN) should be able to print a void type)
399421
$(LI $(BUGZILLA 21659): [OSX] core.stdc.config.__c_ulonglong is forward referenced while looking for sizeof)
400422
$(LI $(BUGZILLA 21662): Extern linkage variables cannot be of types with disabled default construction)
423+
$(LI $(BUGZILLA 21668): Cannot declare ref parameter of opaque type)
401424
)
402425
$(BUGSTITLE_BUGZILLA DMD Compiler enhancements,
403426

@@ -408,6 +431,10 @@ $(LI $(BUGZILLA 20788): Difference between colored and non colored output)
408431
$(LI $(BUGZILLA 21527): Unnecessary store to memory in SIMD code)
409432
$(LI $(BUGZILLA 21593): Only update file time if file to be written already exists)
410433
)
434+
$(BUGSTITLE_BUGZILLA Phobos regression fixes,
435+
436+
$(LI $(BUGZILLA 21663): std.concurrency.receiveOnly doesn't work with tuples)
437+
)
411438
$(BUGSTITLE_BUGZILLA Phobos bug fixes,
412439

413440
$(LI $(BUGZILLA 13663): Comparison of Tuples with floating point fields)
@@ -435,6 +462,7 @@ $(LI $(BUGZILLA 21638): std.typecons.RefCounted!$(LPAREN)T, RefCountedAutoInitia
435462
$(BUGSTITLE_BUGZILLA Druntime regression fixes,
436463

437464
$(LI $(BUGZILLA 21309): Missing core.thread.threadbase documentation)
465+
$(LI $(BUGZILLA 21642): [REG 2.084] hashOf will fail to compile for some structs/unions that recursively contain shared enums)
438466
)
439467
$(BUGSTITLE_BUGZILLA Druntime bug fixes,
440468

download.dd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,7 @@ Macros:
192192
_=BETA=$(COMMENT $0)
193193
BETA=$0
194194
B_DMDV2=2.096.0
195-
B_SUFFIX=beta.1
195+
B_SUFFIX=rc.1
196196

197197
DEB32=$(DLSITE dmd_$(DMDV2)-0_i386.deb)
198198
DEB64=$(DLSITE dmd_$(DMDV2)-0_amd64.deb)

0 commit comments

Comments
 (0)