diktat
diktat copied to clipboard
`BLANK_LINE_BETWEEN_PROPERTIES`, `WRONG_ORDER_IN_CLASS_LIKE_STRUCTURES`
Describe the bug
Internal error has occurred in rule [class-like-structures]. Please make an issue on this bug at https://github.com/cqfn/diKTat/. As a workaround you can disable these inspections in yml config: <[BLANK_LINE_BETWEEN_PROPERTIES, WRONG_ORDER_IN_CLASS_LIKE_STRUCTURES]>.
Not entirely sure where this is coming from, can anyone shed light?
Expected behavior
Observed behavior
Steps to Reproduce
Environment information
- diktat version: 1.2.4.2
- build tool (maven/gradle): gradle 7.3.1
- how is diktat run (CLI, plugin, etc.): CLI
- kotlin version: 1.7.20
- operating system: MacOS
- link to a project (if your project is public):
Hey! Thank you for this report! Any small reproducer?
May be at least some code snippet? There should be a line number in exception
Hi @vishaantiwariepriceline, could you please provide the code to reproduce the error?