mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 12:58:12 +00:00
LibJS: Implement codegen for MemberExpression binding patterns
This commit is contained in:
parent
007ffcd763
commit
56c0fdc1c4
1 changed files with 1 additions and 4 deletions
|
@ -1058,10 +1058,7 @@ static Bytecode::CodeGenerationErrorOr<void> generate_array_binding_pattern_byte
|
|||
return generate_binding_pattern_bytecode(generator, pattern, initialization_mode, target_reg);
|
||||
},
|
||||
[&](NonnullRefPtr<MemberExpression> const& expr) -> Bytecode::CodeGenerationErrorOr<void> {
|
||||
return Bytecode::CodeGenerationError {
|
||||
expr.ptr(),
|
||||
"Unimplemented alias mode: MemberExpression"sv,
|
||||
};
|
||||
return generator.emit_store_to_reference(*expr);
|
||||
});
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue