From f5961cbb220b16b681050381818eccad611ecb17 Mon Sep 17 00:00:00 2001 From: Ayaz Hafiz Date: Thu, 2 Jan 2025 00:51:48 -0600 Subject: [PATCH] Drop debug assert I don't think this assert is actually accurate. --- crates/compiler/solve/src/deep_copy.rs | 4 ---- 1 file changed, 4 deletions(-) diff --git a/crates/compiler/solve/src/deep_copy.rs b/crates/compiler/solve/src/deep_copy.rs index 0ea8b2e6575..c2a75a29b2c 100644 --- a/crates/compiler/solve/src/deep_copy.rs +++ b/crates/compiler/solve/src/deep_copy.rs @@ -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,