Skip to content

Commit

Permalink
feat(sol-thir-lowering): implement unify catch
Browse files Browse the repository at this point in the history
  • Loading branch information
aripiprazole committed May 29, 2024
1 parent 16cfdda commit 68aaa3c
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion sol-thir-lowering/src/elaboration.rs
Original file line number Diff line number Diff line change
@@ -1,10 +1,13 @@
use sol_diagnostic::Diagnostics;
use sol_thir::ElaboratedTerm;

use super::*;

#[salsa::tracked]
pub fn unify_catch(db: &dyn ThirLoweringDb, ctx: Context, lhs: Value, rhs: Value) {
todo!()
if let Err(diagnostic) = lhs.unify(db, ctx, rhs) {
Diagnostics::push(db, diagnostic);
}
}

/// Insert fresh implicit applications to a term which is not
Expand Down

0 comments on commit 68aaa3c

Please sign in to comment.