mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-06 00:25:12 +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:
committed by
Ali Mohammad Pur
parent
007767fc14
commit
5f950df3d4
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user