Make abstract: do not suggest for inline classes #KT-28268 Fixed

This commit is contained in:
Toshiaki Kameyama
2018-11-17 20:55:25 +09:00
committed by Mikhail Glukhikh
parent e671318653
commit 89ba7a7ae8
3 changed files with 22 additions and 0 deletions
@@ -0,0 +1,12 @@
// "Make 'A' abstract" "false"
// ERROR: Class 'A' is not abstract and does not implement abstract member public abstract fun foo(): String defined in I
// ERROR: Primary constructor is required for inline class
// ACTION: Create test
// ACTION: Implement members
// ACTION: Move 'A' to separate file
// ACTION: Rename file to A.kt
interface I {
fun foo(): String
}
inline class A<caret> : I