We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Describe the bug I guess the formatter thinks that's an empty block rather than an object literal.
Input file
class Main { public static function main() { return (meta == null || meta.obj == null) ? {} : meta.obj; } }
Broken output
The text was updated successfully, but these errors were encountered:
fixed comments before catch, fixes HaxeCheckstyle#339
050f5cd
fixed ternary with object literal, fixes HaxeCheckstyle#330 fixes optional function parameters in conditionals, fixes HaxeCheckstyle#345 fixes ternary with opbool, fixes HaxeCheckstyle#348 fixes unary after conditional, fixes HaxeCheckstyle#348
3692c25
No branches or pull requests
Describe the bug
I guess the formatter thinks that's an empty block rather than an object literal.
Input file
Broken output
The text was updated successfully, but these errors were encountered: