Add quickfix for DECLARATION_CANT_BE_INLINED #KT-9983 Fixed

This commit is contained in:
Toshiaki Kameyama
2018-10-04 19:47:11 +09:00
committed by Mikhail Glukhikh
parent c44d3a8d68
commit 23734bae3e
8 changed files with 99 additions and 0 deletions
@@ -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.
}