Skip to content

Commit 80708ba

Browse files
ntreldlang-bot
authored andcommitted
[spec/deprecate] Hex strings are no longer deprecated
E.g. they're mentioned in this changelog: https://dlang.org/changelog/2.108.0.html#dmd.hexstring-cast Also fix `asm` attribute error column.
1 parent c6195f7 commit 80708ba

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

deprecate.dd

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ $(SPEC_S Deprecated Features,
1111
$(TABLE2 Deprecated Features,
1212
$(THEAD Feature, Spec, Dep, Error, Gone)
1313
$(TROW $(DEPLINK Throwing from contracts of nothrow functions),  , 2.101, 2.111,  )
14-
$(TROW $(DEPLINK Hexstring literals), 2.079, 2.079, 2.086,  )
14+
$(TROW $(COMMENT DEPLINK Hexstring literals), 2.079, 2.079, 2.086,  )
1515
$(TROW $(DEPLINK Class allocators and deallocators),  , 2.080, 2.087, 2.100 )
1616
$(TROW $(DEPLINK Implicit comparison of different enums), 2.075, 2.075, 2.081,  )
1717
$(TROW $(DEPLINK Implicit string concatenation), 2.072, 2.072, 2.081,  )
@@ -49,7 +49,7 @@ $(SPEC_S Deprecated Features,
4949
$(TROW $(DEPLINK .offset property), ?, 0.107, 2.061, 2.067 )
5050
$(TROW $(DEPLINK .size property), ?, 0.107, 0.107, 2.061 )
5151
$(TROW $(DEPLINK .typeinfo property), ?, 0.093, 2.061, 2.067 )
52-
$(TROW $(DEPLINK unannotated asm blocks),  , &nbsp,  , 2.100 )
52+
$(TROW $(DEPLINK unannotated asm blocks),  , &nbsp, 2.100, (never) )
5353
)
5454

5555
$(DL
@@ -99,6 +99,7 @@ $(H4 Rationale)
9999
would break the guarantees of the $(D nothrow) attribute.
100100
)
101101

102+
$(COMMENT
102103
$(H3 $(DEPNAME Hexstring literals))
103104
$(P Hexstring literals can be used to enter literals in base 16.
104105
---
@@ -115,6 +116,7 @@ $(H4 Corrective Action)
115116
$(H4 Rationale)
116117
$(P Hexstrings are used so seldom that they don't warrant a language feature.
117118
)
119+
)
118120

119121
$(H3 $(DEPNAME Class allocators and deallocators))
120122
$(P D classes can have members customizing the (de)allocation strategy.

0 commit comments

Comments
 (0)