Do not try to make object's containing class abstract #KT-11466 Fixed

This commit is contained in:
Mikhail Glukhikh
2016-05-11 12:36:07 +03:00
parent af2cf715be
commit a098977c54
3 changed files with 18 additions and 1 deletions
@@ -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
}
}