Do not suggest "convert to object" for sealed sub-classes with state

So #KT-24816 Fixed
This commit is contained in:
Mikhail Glukhikh
2018-06-08 14:45:45 +03:00
parent 813d7fcb6a
commit a09f6e14a5
8 changed files with 118 additions and 3 deletions
@@ -0,0 +1,7 @@
// PROBLEM: none
abstract class Base(var x: String)
sealed class Sealed(s: String) : Base(s)
<caret>class Derived : Sealed("123")