Intentions: Implement "Convert sealed class to enum" intention

#KT-14245 Fixed
This commit is contained in:
Alexey Sedunov
2016-10-10 20:16:18 +03:00
parent 2187a77646
commit ec00b9f3ea
23 changed files with 358 additions and 1 deletions
@@ -0,0 +1,7 @@
// SHOULD_FAIL_WITH: All inheritors must be nested objects of the class itself and may not inherit from other classes or interfaces. Following problems are found: class <b><code>A</code></b>, class <b><code>B</code></b>
sealed class <caret>X {
class A : X()
}
class B : X()