mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-29 14:54:47 +00:00
Add more diagnostic info to a panic
This commit is contained in:
parent
3a4cf2cdb1
commit
a6b57aea87
1 changed files with 2 additions and 2 deletions
|
@ -1971,8 +1971,8 @@ fn call_with_args<'a, 'ctx, 'env>(
|
||||||
panic!("Unrecognized builtin function: {:?}", fn_name)
|
panic!("Unrecognized builtin function: {:?}", fn_name)
|
||||||
} else {
|
} else {
|
||||||
panic!(
|
panic!(
|
||||||
"Unrecognized non-builtin function: {:?} {:?}",
|
"Unrecognized non-builtin function: {:?} (symbol: {:?}, layout: {:?})",
|
||||||
fn_name, layout
|
fn_name, symbol, layout
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue