Do not try to make object's containing class abstract #KT-11466 Fixed
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
// "Make 'Owner' abstract" "false"
|
||||
// ERROR: Abstract property 'x' in non-abstract class 'Companion'
|
||||
// ACTION: Make 'x' not abstract
|
||||
// ACTION: Make internal
|
||||
|
||||
class Owner {
|
||||
companion object {
|
||||
<caret>abstract val x: Int
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user