mirror of
https://github.com/roc-lang/roc.git
synced 2025-08-04 04:08:19 +00:00
abilities syntax has
-> implements
This commit is contained in:
parent
91e37293a2
commit
dbc0204532
21 changed files with 89 additions and 84 deletions
|
@ -1106,8 +1106,13 @@ impl<'a, 'r> WasmBackend<'a, 'r> {
|
|||
*******************************************************************/
|
||||
|
||||
fn expr_literal(&mut self, lit: &Literal<'a>, storage: &StoredValue) {
|
||||
let invalid_error =
|
||||
|| internal_error!("Literal value {:?} has invalid storage {:?}", lit, storage);
|
||||
let invalid_error = || {
|
||||
internal_error!(
|
||||
"Literal value {:?} implements invalid storage {:?}",
|
||||
lit,
|
||||
storage
|
||||
)
|
||||
};
|
||||
|
||||
match storage {
|
||||
StoredValue::VirtualMachineStack { value_type, .. } => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue