mirror of
https://github.com/roc-lang/roc.git
synced 2025-08-03 19:58:18 +00:00
add TODO comment
This commit is contained in:
parent
4caea7c7ea
commit
2ec7f56643
1 changed files with 4 additions and 0 deletions
|
@ -167,6 +167,10 @@ pub(crate) fn infer_borrow_signatures<'a>(
|
|||
// NOTE: this does not directly include updates to join point signatures. The
|
||||
// assumption is that a relevant change in join point signature is immediately
|
||||
// (i.e. no fixpoint is required) reflected in the proc signature.
|
||||
//
|
||||
// TODO: this is a load-bearing assert! There must be UB somewhere, removing this
|
||||
// assert causes the code to run into an infinite loop that terminates when the
|
||||
// memory on the system is exhausted.
|
||||
assert_eq!(
|
||||
state.modified,
|
||||
borrow_signatures
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue