mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-31 13:19:05 +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
Notes:
sideshowbarker
2024-07-17 04:49:48 +09:00
Author: https://github.com/alimpfard
Commit: 5f950df3d4
Pull-request: https://github.com/SerenityOS/serenity/pull/17538
Reviewed-by: https://github.com/ADKaster
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