HF RL Explorer

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-Code: MiMo-V2.6-RL Code (Harbor) (Harbor dataset). 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…

The task

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 comparison enabled flags it.

Part of openmodelai/MiMo-V2.6-Code.