Treat nested class of header class as header
Note that the quick fix to implement header class works incorrectly when that class has nested classes at the moment; this should be fixed separately #KT-15494 Fixed #KT-18573 Fixed
This commit is contained in:
@@ -1,19 +1,19 @@
|
||||
header class O1 {
|
||||
header class N1
|
||||
header interface N2
|
||||
header object N3
|
||||
class N1
|
||||
interface N2
|
||||
object N3
|
||||
}
|
||||
|
||||
header class O2 {
|
||||
header class N2
|
||||
header inner class I2
|
||||
class N2
|
||||
inner class I2
|
||||
}
|
||||
|
||||
header class O3 {
|
||||
header object Companion
|
||||
header companion object Factory
|
||||
object Companion
|
||||
companion object Factory
|
||||
}
|
||||
|
||||
header class O4 {
|
||||
header companion object
|
||||
companion object
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user