mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 04:37:34 +00:00
Shell: Make Immediate expression invocation fallible
This removes a whole bunch of FIXMEs in the immediate expr implementations as well :^)
This commit is contained in:
parent
007767fc14
commit
5f950df3d4
3 changed files with 79 additions and 79 deletions
|
@ -2048,7 +2048,7 @@ ErrorOr<void> ImmediateExpression::dump(int level) const
|
|||
|
||||
RefPtr<Value> ImmediateExpression::run(RefPtr<Shell> shell)
|
||||
{
|
||||
auto node = shell->run_immediate_function(m_function.name, *this, arguments());
|
||||
auto node = shell->run_immediate_function(m_function.name, *this, arguments()).release_value_but_fixme_should_propagate_errors();
|
||||
if (node)
|
||||
return node->run(shell);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue