mirror of
https://github.com/RGBCube/serenity
synced 2026-01-12 23:11:00 +00:00
LibJS: Convert to_property_key() to ThrowCompletionOr
This commit is contained in:
parent
1639ed7e0a
commit
c488f5a59d
9 changed files with 42 additions and 73 deletions
|
|
@ -314,7 +314,7 @@ public:
|
|||
ThrowCompletionOr<i64> to_bigint_int64(GlobalObject&) const;
|
||||
ThrowCompletionOr<u64> to_bigint_uint64(GlobalObject&) const;
|
||||
ThrowCompletionOr<double> to_double(GlobalObject&) const;
|
||||
StringOrSymbol to_property_key(GlobalObject&) const;
|
||||
ThrowCompletionOr<StringOrSymbol> to_property_key(GlobalObject&) const;
|
||||
i32 to_i32(GlobalObject& global_object) const
|
||||
{
|
||||
if (m_type == Type::Int32)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue