KT-46146 'protected' is unavailable for primary constructors
Prior to this commit intention to change primary constructor visibility to 'protected' was filtered out.
This commit is contained in:
+2
@@ -0,0 +1,2 @@
|
||||
// IS_APPLICABLE: false
|
||||
annotation class AClass <caret>public constructor()
|
||||
@@ -0,0 +1 @@
|
||||
class RegularClass <caret>private constructor()
|
||||
+1
@@ -0,0 +1 @@
|
||||
class RegularClass <caret>protected constructor()
|
||||
@@ -2,6 +2,7 @@
|
||||
// ACTION: Create test
|
||||
// ACTION: Make primary constructor internal
|
||||
// ACTION: Make primary constructor private
|
||||
// ACTION: Make primary constructor protected
|
||||
// ACTION: Enable a trailing comma by default in the formatter
|
||||
// ACTION: Extract 'C' from current file
|
||||
// ACTION: Rename file to C.kt
|
||||
|
||||
Reference in New Issue
Block a user