KT-9839: intention introduced: convert secondary constructor to primary one #KT-9839 Fixed
(cherry picked from commit f3fa779)
This commit is contained in:
committed by
Mikhail Glukhikh
parent
28b70faa99
commit
725df49c8c
+1
@@ -1,5 +1,6 @@
|
||||
// "Create secondary constructor" "false"
|
||||
// ERROR: Too many arguments for public constructor Any() defined in kotlin.Any
|
||||
// ACTION: Convert to primary constructor
|
||||
// WITH_RUNTIME
|
||||
|
||||
interface T {
|
||||
|
||||
+1
@@ -1,5 +1,6 @@
|
||||
// "class org.jetbrains.kotlin.idea.quickfix.InsertDelegationCallQuickfix" "false"
|
||||
// ACTION: Insert 'super()' call
|
||||
// ACTION: Convert to primary constructor
|
||||
// ERROR: Explicit 'this' or 'super' call is required. There is no constructor in superclass that can be called without arguments
|
||||
|
||||
open class B(val x: Int)
|
||||
|
||||
Reference in New Issue
Block a user