KT-32551 New J2K: Non-canonical modifiers order inspection is not applied during convertion of inner super class (#2806)
New J2K: add SortModifiers inspection to post-processing #KT-32551 Fixed
This commit is contained in:
committed by
Ilya Kirillov
parent
dbacae94d0
commit
c72622c6d7
@@ -1,3 +1,4 @@
|
||||
// PROBLEM: Modifiers should follow annotations
|
||||
annotation class Test
|
||||
|
||||
<caret>public @Test /* this is a test */ class MyTest
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
// PROBLEM: Modifiers should follow annotations
|
||||
annotation class Test
|
||||
|
||||
@Test
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
// PROBLEM: Modifiers should follow annotations
|
||||
annotation class Inject
|
||||
annotation class VisibleForTesting
|
||||
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
// PROBLEM: Modifiers should follow annotations
|
||||
annotation class Inject
|
||||
annotation class VisibleForTesting
|
||||
|
||||
|
||||
@@ -1 +1,3 @@
|
||||
// PROBLEM: Non-canonical modifiers order
|
||||
// FIX: Sort modifiers
|
||||
<caret>abstract public class Test
|
||||
|
||||
@@ -1 +1,3 @@
|
||||
// PROBLEM: Non-canonical modifiers order
|
||||
// FIX: Sort modifiers
|
||||
public abstract class Test
|
||||
|
||||
Reference in New Issue
Block a user