Skip to content

Commit 3815539

Browse files
committed
update download and changelog for v2.091.0-beta.2
1 parent 6a7972e commit 3815539

File tree

2 files changed

+4
-32
lines changed

2 files changed

+4
-32
lines changed

changelog/2.091.0_pre.dd

Lines changed: 3 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,13 @@ $(CHANGELOG_NAV_INJECT)
55
$(VERSION Mar 08, 2020, =================================================,
66

77
$(CHANGELOG_HEADER_STATISTICS
8-
$(VER) comes with 19 major changes and 63 fixed Bugzilla issues.
8+
$(VER) comes with 18 major changes and 64 fixed Bugzilla issues.
99
A huge thanks goes to the
1010
$(LINK2 #contributors, 55 contributors)
1111
who made $(VER) possible.)
1212

1313
$(BUGSTITLE_TEXT_HEADER Compiler changes,
1414

15-
$(LI $(RELATIVE_LINK2 d1-operator-deprecation,D1-style operator now have a lower priority than D2-style))
1615
$(LI $(RELATIVE_LINK2 deallocator,Class deallocator have been removed from the language))
1716
$(LI $(RELATIVE_LINK2 gnu-error-style,Can now report line numbers in GNU error style))
1817
$(LI $(RELATIVE_LINK2 headers,Added experimental `C++` header generation from `extern(C|C++)` declarations))
@@ -60,39 +59,11 @@ $(CHANGELOG_SEP_HEADER_TEXT)
6059

6160
$(BUGSTITLE_TEXT_BODY Compiler changes,
6261

63-
$(LI $(LNAME2 d1-operator-deprecation,D1-style operator now have a lower priority than D2-style)
64-
$(CHANGELOG_SOURCE_FILE dmd, changelog/d1-operator-deprecation.dd)
65-
$(P
66-
D1 operator overloads have been deprecated in $(LINK2 https://dlang.org/changelog/2.088.0.html v2.088.0).
67-
They historically had priority over D2 operator overload, and that priority was kept as is even after deprecating them.
68-
)
69-
70-
$(P
71-
One main difference between D1 and D2 operator overload is that D1's are `virtual` by default,
72-
while the D2 operator overloading scheme relies on template, and so cannot be virtual.
73-
Code relying on virtuality of operator can be trivially adapted by providing a D2-style operator
74-
overload that forwards to a virtual method.
75-
)
76-
77-
$(P
78-
However, as D1 operator overloads take priority, the deprecation message will be issued even if a D2
79-
operator overload is present.
80-
This means that code relying on virtual operators would need not only to introduce the aforementioned
81-
D2-style overload, but also to rename their method not to match the reserved D1 names.
82-
This in turns forces libraries to introduce a breaking change in order to silence the deprecation.
83-
)
84-
85-
$(P
86-
Starting from this release, D2-style operator overloads take priority over D1-style,
87-
making it trivial to forward the former to the later.
88-
)
89-
)
90-
9162
$(LI $(LNAME2 deallocator,Class deallocator have been removed from the language)
9263
$(CHANGELOG_SOURCE_FILE dmd, changelog/deallocator.dd)
9364
$(P
9465
Class deallocator have been deprecated in v2.080.0
95-
(see $(LINK2 https://dlang.org/changelog/2.080.0.html#deprecate_class_allocators the changelog entry)),
66+
(see $(LINK2 https://dlang.org/changelog/2.080.0.html#deprecate_class_allocators, the changelog entry)),
9667
and turned into an error in v2.087.0.
9768
They have now been completely removed from the language, and the parser won't recognize them anymore.
9869
)
@@ -439,6 +410,7 @@ $(LI $(BUGZILLA 20545): Segfault/Assertion failure when parsing invalid AA liter
439410
$(LI $(BUGZILLA 20547): Wrong error message when trying to "new" an associative array)
440411
$(LI $(BUGZILLA 20551): In @safe code and using delegates, it's possible to escape references to function frame)
441412
$(LI $(BUGZILLA 20592): [GCC ASM] [ICE] dmd/iasmgcc.d$(LPAREN)332$(RPAREN): Assertion failure)
413+
$(LI $(BUGZILLA 20613): String switch in -betterC fails for 7+ labels)
442414
)
443415
$(BUGSTITLE_BUGZILLA DMD Compiler enhancements,
444416

download.dd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -221,7 +221,7 @@ Macros:
221221
_=BETA=$(COMMENT $0)
222222
BETA=$0
223223
B_DMDV2=2.091.0
224-
B_SUFFIX=beta.1
224+
B_SUFFIX=beta.2
225225

226226
DEB32=$(DLSITE dmd_$(DMDV2)-0_i386.deb)
227227
DEB64=$(DLSITE dmd_$(DMDV2)-0_amd64.deb)

0 commit comments

Comments
 (0)