We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f59b6f0 commit 4de7d40Copy full SHA for 4de7d40
1 file changed
crates/compiler/src/llvm_backend.rs
@@ -2541,8 +2541,7 @@ impl<'ctx> LLVMBackend<'ctx> {
2541
self.builder.build_call(box_fn, &[arg_val.into()], "box")
2542
{
2543
call_site
2544
- .try_as_basic_value()
2545
- .left()
+ .try_as_basic_value().basic()
2546
.unwrap_or(arg_val)
2547
.into()
2548
} else {
@@ -2998,6 +2997,7 @@ impl<'ctx> LLVMBackend<'ctx> {
2998
2997
format!("Intrinsic {:?} not yet implemented in LLVM backend", intrinsic)
2999
))
3000
}
+ _ => todo!()
3001
3002
3003
0 commit comments