Skip to content

Commit

Permalink
Drop debug assert
Browse files Browse the repository at this point in the history
I don't think this assert is actually accurate.
  • Loading branch information
ayazhafiz committed Jan 6, 2025
1 parent 6586a92 commit 8bddbe6
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions crates/compiler/solve/src/deep_copy.rs
Original file line number Diff line number Diff line change
Expand Up @@ -329,10 +329,6 @@ fn deep_copy_var_help(
}

let new_ambient_function_var = work!(ambient_function_var);
debug_assert_ne!(
ambient_function_var, new_ambient_function_var,
"lambda set cloned but its ambient function wasn't?"
);

subs.set_content_unchecked(
lambda_set_var,
Expand Down

0 comments on commit 8bddbe6

Please sign in to comment.