From 81cf39b602a64242f2bfb22b0d18ef113e578dd8 Mon Sep 17 00:00:00 2001 From: Jakub Doka Date: Thu, 14 Nov 2024 21:57:51 +0100 Subject: [PATCH] adding more info for assert --- lang/src/son/hbvm/my_regalloc.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lang/src/son/hbvm/my_regalloc.rs b/lang/src/son/hbvm/my_regalloc.rs index 3d8feab4..8e8882c0 100644 --- a/lang/src/son/hbvm/my_regalloc.rs +++ b/lang/src/son/hbvm/my_regalloc.rs @@ -649,7 +649,7 @@ impl<'a> Env<'a> { ); range.end = new; - debug_assert!(range.start < range.end); + debug_assert!(range.start < range.end, "{:?}", range); bundle.add(range); });