From 57a57745da3c1f09e97a4e7a53f3b244761d6e4e Mon Sep 17 00:00:00 2001 From: cflmy Date: Wed, 18 Nov 2026 13:32:30 +0800 Subject: [PATCH] fix(sema): remove duplicate derive and restore BoundCall Debug Clone Eq after StaticCallArg insertion --- src/sema/ir.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/sema/ir.rs b/src/sema/ir.rs index d3263a8..a6d0571 100755 --- a/src/sema/ir.rs +++ b/src/sema/ir.rs @@ -235,8 +235,6 @@ pub struct KnowledgeStep { pub source: SourceLocation, } -/// Static call site bound to a SymbolId (G02). -#[derive(Debug, Clone, PartialEq, Eq)] /// Fully static i64 call-site argument. Non-constant expressions are kept /// as unresolved proof obligations rather than guessed values. #[derive(Debug, Clone, PartialEq, Eq)] @@ -287,6 +285,8 @@ fn static_call_args(call:&CallExpr)->Vec{ }).collect() } +/// Static call site bound to a SymbolId (G02). +#[derive(Debug, Clone, PartialEq, Eq)] pub struct BoundCall { /// Exact owning function symbol at the AST callsite. pub caller: SymbolId,