mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-29 23:04:49 +00:00
ignore empty struct loading
This commit is contained in:
parent
1fccd5bede
commit
5cb682140d
2 changed files with 9 additions and 2 deletions
|
@ -534,6 +534,9 @@ impl<
|
|||
ASM::mov_base32_reg64(&mut self.buf, offset + 8, CC::GENERAL_RETURN_REGS[1]);
|
||||
}
|
||||
}
|
||||
Layout::Struct([]) => {
|
||||
// Nothing needs to be done to load a returned empty struct.
|
||||
}
|
||||
x => unimplemented!(
|
||||
"FnCall: receiving return type, {:?}, is not yet implemented",
|
||||
x
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue