"Make abstract" is no longer applicable to object / enum entry members #KT-3797 Fixed

This commit is contained in:
Mikhail Glukhikh
2016-05-27 18:31:25 +03:00
parent bce96baf20
commit 91ce8cc612
5 changed files with 55 additions and 1 deletions
@@ -0,0 +1,10 @@
// "Make 'foo' abstract" "false"
// ACTION: Add function body
// ACTION: Make internal
// ACTION: Make private
// ERROR: Function 'foo' without a body must be abstract
object O {
<caret>fun foo()
}