chore: improve error message
This commit is contained in:
parent
4d95c36885
commit
7964b727e5
1 changed files with 1 additions and 1 deletions
|
|
@ -809,7 +809,7 @@ class interpreter {
|
|||
}
|
||||
} else {
|
||||
if (decl_tag(e.m_decl) == decl_kind::Extern) {
|
||||
throw exception(sstream() << "unexpected external declaration '" << fn << "'");
|
||||
throw exception(sstream() << "could not find native implementation of external declaration '" << fn << "'");
|
||||
}
|
||||
// evaluate args in old stack frame
|
||||
for (const auto & arg : args) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue