Automatic renaming subclasses.
#KT-4642 in progress
This commit is contained in:
@@ -0,0 +1,3 @@
|
||||
class JavaBar extends Bar {
|
||||
|
||||
}
|
||||
@@ -1,4 +1,4 @@
|
||||
class Bar : Throwable()
|
||||
open class Bar : Throwable()
|
||||
|
||||
val bar: Bar = Bar()
|
||||
val bar1: Bar = Bar()
|
||||
@@ -33,3 +33,7 @@ fun topLevel(bar: Bar) {
|
||||
fun collectionLikes(bars: List<Array<Bar>>, foos: List<Map<Bar, Bar>>) {
|
||||
|
||||
}
|
||||
|
||||
class BarImpl : Bar()
|
||||
|
||||
object BarObj : Bar()
|
||||
@@ -0,0 +1,3 @@
|
||||
class JavaFoo extends Foo {
|
||||
|
||||
}
|
||||
@@ -1,4 +1,4 @@
|
||||
class Foo : Throwable()
|
||||
open class Foo : Throwable()
|
||||
|
||||
val foo: Foo = Foo()
|
||||
val foo1: Foo = Foo()
|
||||
@@ -33,3 +33,7 @@ fun topLevel(foo: Foo) {
|
||||
fun collectionLikes(foos: List<Array<Foo>>, foos: List<Map<Foo, Foo>>) {
|
||||
|
||||
}
|
||||
|
||||
class FooImpl : Foo()
|
||||
|
||||
object FooObj : Foo()
|
||||
Reference in New Issue
Block a user