diktat icon indicating copy to clipboard operation
diktat copied to clipboard

`BLANK_LINE_BETWEEN_PROPERTIES`, `WRONG_ORDER_IN_CLASS_LIKE_STRUCTURES`

Open vishaantiwariepriceline opened this issue 2 years ago • 3 comments

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):

vishaantiwariepriceline avatar Feb 03 '23 20:02 vishaantiwariepriceline

Hey! Thank you for this report! Any small reproducer?

orchestr7 avatar Feb 03 '23 20:02 orchestr7

May be at least some code snippet? There should be a line number in exception

orchestr7 avatar Feb 03 '23 20:02 orchestr7

Hi @vishaantiwariepriceline, could you please provide the code to reproduce the error?

DrAlexD avatar Dec 12 '23 11:12 DrAlexD