You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This can cause code to not compile. One instance is if you have another class or enum declared below it. It isn't a huge issue though because you probably shouldn't have empty companion objects lying around.
ex.
class Example {
companion object {}
enum class ExampleEnum {
EXAMPLE
}
}
is formatted to the code below which does not compile.
class Example {
companion object
enum class ExampleEnum {
EXAMPLE
}
}
The text was updated successfully, but these errors were encountered:
Ah thanks for the report. Yes not a big deal since it's pretty obvious what the problem is, but the formatter should probably not make your code stop compiling. :)
@ckarthickit you can disable rules globally via an .editorconfig property or --disabled_rules CLI but the rules themselves are generally not configurable.
This can cause code to not compile. One instance is if you have another class or enum declared below it. It isn't a huge issue though because you probably shouldn't have empty companion objects lying around.
ex.
is formatted to the code below which does not compile.
The text was updated successfully, but these errors were encountered: