Skip to content

Commit 12b44d2

Browse files
Merge pull request #1574 from schveiguy/patch-1
Update documentation to reflect new defaults for cycle detection
2 parents c78ba9f + d5f86f0 commit 12b44d2

File tree

1 file changed

+12
-11
lines changed

1 file changed

+12
-11
lines changed

spec/module.dd

Lines changed: 12 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -549,18 +549,19 @@ $(H3 $(LNAME2 override_cycle_abort, Overriding Cycle Detection Abort))
549549
)
550550

551551
$(OL
552-
$(LI `deprecate` The default behavior. This functions just like `abort`,
553-
but will use the pre-2.072 algorithm to determine if the cycle was
554-
undetected. If so, the old algorithm is used, but a deprecation
555-
message is printed. After 2.073, the `abort` option will be the default.)
556-
$(LI `abort` The normal behavior as described in the previous section.
557-
After 2.073, this will be the default behavior.)
552+
$(LI `abort` The default behavior. The normal behavior as described
553+
in the previous section)
554+
$(LI `deprecate` This functions just like `abort`, but upon cycle
555+
detection the runtime will use a flawed pre-2.072 algorithm to
556+
determine if the cycle was previously detected. If no cycles are
557+
detected in the old algorithm, execution continues, but a
558+
deprecation message is printed.)
558559
$(LI `print` Print all cycles detected, but do not abort execution.
559-
Order of static construction is implementation defined, and not
560-
guaranteed to be valid.)
561-
$(LI `ignore` Do not abort execution or print any cycles. Order of
562-
static construction is implementation defined, and not guaranteed
563-
to be valid.)
560+
When cycles are present, order of static construction is
561+
implementation defined, and not guaranteed to be valid.)
562+
$(LI `ignore` Do not abort execution or print any cycles. When
563+
cycles are present, order of static construction is implementation
564+
defined, and not guaranteed to be valid.)
564565
)
565566

566567
$(H3 $(LNAME2 order_of_static_ctors, Order of Static Construction within a Module))

0 commit comments

Comments
 (0)