diff options
author | Linus Groh <mail@linusgroh.de> | 2021-06-11 01:21:46 +0100 |
---|---|---|
committer | Linus Groh <mail@linusgroh.de> | 2021-06-11 01:21:46 +0100 |
commit | 17da54d49c0ffb502372dc9cf55c5882fdf5c190 (patch) | |
tree | e519a44e73e8d801b4d9923a6113611e7878face /Userland/Libraries/LibJS/AST.h | |
parent | f218a4b5488aeec968153c5e3f70c7449dd95427 (diff) | |
download | serenity-17da54d49c0ffb502372dc9cf55c5882fdf5c190.zip |
LibJS: Fix two accidentally incorrect ScriptFunction constructions
The addition of an is_generator parameter broke this, as is_strict was
being passed in, causing an assertion.
This is being addressed by changing it to an enum in #7981, but in the
meantime let's just fix these two cases.
Diffstat (limited to 'Userland/Libraries/LibJS/AST.h')
0 files changed, 0 insertions, 0 deletions