Skip to content

Commit

Permalink
better
Browse files Browse the repository at this point in the history
  • Loading branch information
edg-l committed Jan 18, 2024
1 parent a08d915 commit a7bc019
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/concrete_codegen_mlir/src/codegen.rs
Original file line number Diff line number Diff line change
Expand Up @@ -898,7 +898,7 @@ fn compile_path_op<'ctx, 'parent: 'ctx>(
let local = scope_ctx
.locals
.get(&path.first.name)
.expect("local not found")
.unwrap_or_else(|| panic!("local {} not found", path.first.name))
.clone();

let location = get_location(context, session, path.first.span.from);
Expand Down

0 comments on commit a7bc019

Please sign in to comment.