summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibJS/AST.h
diff options
context:
space:
mode:
authorLinus Groh <mail@linusgroh.de>2021-06-11 01:21:46 +0100
committerLinus Groh <mail@linusgroh.de>2021-06-11 01:21:46 +0100
commit17da54d49c0ffb502372dc9cf55c5882fdf5c190 (patch)
treee519a44e73e8d801b4d9923a6113611e7878face /Userland/Libraries/LibJS/AST.h
parentf218a4b5488aeec968153c5e3f70c7449dd95427 (diff)
downloadserenity-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