Skip to content

Commit 0f32bab

Browse files
committed
update download and changelog for v2.101.0-beta.1
1 parent ecd582b commit 0f32bab

File tree

1 file changed

+26
-2
lines changed

1 file changed

+26
-2
lines changed

changelog/2.101.0_pre.dd

Lines changed: 26 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ $(CHANGELOG_NAV_INJECT)
55
$(VERSION Nov 14, 2022, =================================================,
66

77
$(CHANGELOG_HEADER_STATISTICS
8-
$(VER) comes with 37 major changes and 736 fixed Bugzilla issues.
8+
$(VER) comes with 38 major changes and 737 fixed Bugzilla issues.
99
A huge thanks goes to the
1010
$(LINK2 #contributors, 299 contributors)
1111
who made $(VER) possible.)
@@ -26,6 +26,7 @@ $(LI $(RELATIVE_LINK2 dmd.importc_typeof,ImportC now recognizes the `typeof(...)
2626
$(LI $(RELATIVE_LINK2 dmd.markdown,Removed the `-transition=markdown` and `-revert=markdown` switches))
2727
$(LI $(RELATIVE_LINK2 dmd.new-aa,`new` can now allocate an associative array))
2828
$(LI $(RELATIVE_LINK2 dmd.previewInLink,`-preview=in` can now be used with `extern(C++)`, disabled for other non-D linkage))
29+
$(LI $(RELATIVE_LINK2 dmd.shortenedMethodsEnabled,The shortened method syntax is now available by default.))
2930

3031
)
3132

@@ -397,6 +398,28 @@ as `in` will allow to bind rvalues to `const T&`, as in C++.
397398
)
398399
)
399400

401+
$(LI $(LNAME2 dmd.shortenedMethodsEnabled,The shortened method syntax is now available by default.)
402+
$(CHANGELOG_SOURCE_FILE dmd, changelog/dmd.shortenedMethodsEnabled.dd)
403+
$(P
404+
[DIP 1043---Shortened Method Syntax](https://forum.dlang.org/thread/ahswpyijfidyorixgaqm@forum.dlang.org) has been accepted, the flag `-preview=shortenedMethods`
405+
is no longer required to write shortened function bodies:
406+
)
407+
408+
---
409+
int add(int x, int y) pure => x + y;
410+
411+
// equivalent full function body:
412+
int add(int x, int y) pure
413+
{
414+
return x + y;
415+
}
416+
---
417+
418+
$(P
419+
The preview flag will still work until it is deprecated in a future release.
420+
)
421+
)
422+
400423

401424
)
402425

@@ -1011,6 +1034,7 @@ $(LI $(BUGZILLA 23355): invalid template parameter loses error location in some
10111034
$(LI $(BUGZILLA 23357): ImportC: compatible types with definitions leads to redeclaration error when used from D.)
10121035
$(LI $(BUGZILLA 23379): Cast of expressions with type noreturn result in ice)
10131036
$(LI $(BUGZILLA 23380): [dip1000] class parameter should not be treated as ref qua lifetime)
1037+
$(LI $(BUGZILLA 23406): [seg fault] enums can cause compile time seg faults with assignments using alias this)
10141038
)
10151039
$(BUGSTITLE_BUGZILLA DMD Compiler enhancements,
10161040

@@ -1887,8 +1911,8 @@ $(D_CONTRIBUTORS
18871911
$(D_CONTRIBUTOR yglukhov)
18881912
$(D_CONTRIBUTOR yori)
18891913
$(D_CONTRIBUTOR Yuxuan Shui)
1890-
$(D_CONTRIBUTOR Ömer Faruk IRMAK)
18911914
$(D_CONTRIBUTOR Ömer Faruk Irmak)
1915+
$(D_CONTRIBUTOR Ömer Faruk IRMAK)
18921916
$(D_CONTRIBUTOR Михаил Страшун)
18931917
$(D_CONTRIBUTOR سليمان السهمي (Suleyman Sahmi))
18941918
)

0 commit comments

Comments
 (0)