Skip to content

Commit 8c9a7fa

Browse files
committed
Error for implicit comparison of different enums
1 parent 26bc192 commit 8c9a7fa

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

deprecate.dd

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ $(SPEC_S Deprecated Features,
1212
$(THEAD Feature, Spec, Dep, Error, Gone)
1313
$(TROW $(DEPLINK Hexstring literals), 2.079, 2.079,  ,  )
1414
$(TROW $(DEPLINK Class allocators and deallocators),  , 2.080,  ,  )
15-
$(TROW $(DEPLINK Implicit comparison of different enums), 2.075, 2.075,  ,  )
15+
$(TROW $(DEPLINK Implicit comparison of different enums), 2.075, 2.075, 2.081,  )
1616
$(TROW $(DEPLINK Implicit string concatenation), 2.072, 2.072,  ,  )
1717
$(TROW $(DEPLINK Using the result of a comma expression), 2.072, 2.072, 2.079,  )
1818
$(TROW $(DEPLINK delete),  , 2.079,  ,  )
@@ -137,8 +137,8 @@ $(H3 $(DEPNAME Implicit comparison of different enums))
137137
}
138138
enum OtherStatus
139139
{
140-
ok
141-
no,
140+
ok,
141+
no
142142
}
143143
static assert(Status.good == OtherStatus.ok);
144144
---

0 commit comments

Comments
 (0)