Implement members: don't add 'actual' modifier for fake overrides

#KT-25044 Fixed
This commit is contained in:
Mikhail Glukhikh
2018-08-08 12:46:30 +03:00
parent ed5791ed9e
commit db787c78d6
6 changed files with 42 additions and 2 deletions
@@ -0,0 +1,8 @@
// "Implement members" "true"
// ERROR: Class 'ExpImpl' is not abstract and does not implement abstract member public abstract actual fun first(): Unit defined in ExpInterface
actual interface ExpInterface {
actual fun first()
}
actual class ExpImpl<caret> : ExpInterface