Rename ROC_VERIFY_OCCURS_RECURSION flag

This commit is contained in:
Ayaz Hafiz 2023-05-02 16:46:51 -05:00
parent 5815807927
commit 8dc86a81b8
No known key found for this signature in database
GPG key ID: 0E2A37416A25EF58
2 changed files with 14 additions and 13 deletions

View file

@ -109,13 +109,12 @@ flags! {
ROC_VERIFY_RIGID_LET_GENERALIZED
/// Verifies that an `occurs` check indeed only contains non-recursive types that need to be
/// fixed-up.
/// fixed-up with one new recursion variable.
///
/// This flag is disabled by default because an occurs check may pass through an inferred
/// partially-recursive structure if a part of that structure also has type errors. However, in
/// the presence of programs without type errors, occurs checks should always consist of only
/// non-recursive types, and this flag should pass.
ROC_VERIFY_OCCURS_RECURSION
/// This flag is disabled by default because an occurs check may pass through another recursive
/// structure for which a recursive pointer has already been allocated. However, during debugging,
/// you may be interested in checking that the occurs check finds only one variable to fix.
ROC_VERIFY_OCCURS_ONE_RECURSION
// ===Mono===