mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 13:48:12 +00:00
LibJS: Convert internal_get() to ThrowCompletionOr
This commit is contained in:
parent
d9895ec12d
commit
6c2b974db2
17 changed files with 39 additions and 44 deletions
|
@ -1392,7 +1392,7 @@ public:
|
|||
|
||||
if (interface.extended_attributes.contains("CustomGet")) {
|
||||
generator.append(R"~~~(
|
||||
virtual JS::Value internal_get(JS::PropertyName const&, JS::Value receiver) const override;
|
||||
virtual JS::ThrowCompletionOr<JS::Value> internal_get(JS::PropertyName const&, JS::Value receiver) const override;
|
||||
)~~~");
|
||||
}
|
||||
if (interface.extended_attributes.contains("CustomSet")) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue