mirror of
https://github.com/danbulant/oxc
synced 2026-05-24 12:21:58 +00:00
fix(wasm): codegen is broken due to preserve_parens(false)
This commit is contained in:
parent
4a656c3a18
commit
254d5e07e3
1 changed files with 0 additions and 2 deletions
|
|
@ -205,7 +205,6 @@ impl Oxc {
|
|||
if run_options.prettier_format() {
|
||||
let ret = Parser::new(&allocator, source_text, source_type)
|
||||
.allow_return_outside_function(parser_options.allow_return_outside_function)
|
||||
.preserve_parens(false)
|
||||
.parse();
|
||||
let printed =
|
||||
Prettier::new(&allocator, source_text, ret.trivias, PrettierOptions::default())
|
||||
|
|
@ -216,7 +215,6 @@ impl Oxc {
|
|||
if run_options.prettier_ir() {
|
||||
let ret = Parser::new(&allocator, source_text, source_type)
|
||||
.allow_return_outside_function(parser_options.allow_return_outside_function)
|
||||
.preserve_parens(false)
|
||||
.parse();
|
||||
let prettier_doc = Prettier::new(
|
||||
&allocator,
|
||||
|
|
|
|||
Loading…
Reference in a new issue