prettier strips curly braces from $obj- {...} even when it changes the meaning
prettier strips curly braces from $obj- {...} even when it changes the meaning: a task in MiMo-V2.6-RL-oss: Agentic RL Environments (MiMo RL release). prettier strips curly braces from $obj- {...} even when it changes the meaning I was running prettier (with the PHP plugin) on a project that uses…
The task
prettier strips curly braces from $obj->{...} even when it changes the meaning I was running prettier (with the PHP plugin) on a project that uses some dynamic property lookups, and noticed that the output was no longer equivalent to the input — running prettier with AST…
Part of XiaomiMiMo/MiMo-V2.6-RL-oss.