Add quickfix for DECLARATION_CANT_BE_INLINED #KT-9983 Fixed
This commit is contained in:
committed by
Mikhail Glukhikh
parent
c44d3a8d68
commit
23734bae3e
@@ -0,0 +1,4 @@
|
||||
// "Make 'foo' not open" "true"
|
||||
open class A {
|
||||
inline open fun foo()<caret> {}
|
||||
}
|
||||
@@ -0,0 +1,4 @@
|
||||
// "Make 'foo' not open" "true"
|
||||
open class A {
|
||||
inline fun foo() {}
|
||||
}
|
||||
@@ -0,0 +1,5 @@
|
||||
// "Convert member to extension" "true"
|
||||
// WITH_RUNTIME
|
||||
interface B {
|
||||
<caret>inline fun foo()
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
// "Convert member to extension" "true"
|
||||
// WITH_RUNTIME
|
||||
interface B {
|
||||
}
|
||||
|
||||
inline fun B.foo() {
|
||||
TODO("not implemented") //To change body of created functions use File | Settings | File Templates.
|
||||
}
|
||||
Reference in New Issue
Block a user