Improve search for facade light class by kotlin file
LightClassUtil#getWrappingClass works for clashing facade fq names #KT-17855 Fixed
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
@file:JvmName("MultiPart")
|
||||
@file:JvmMultifileClass
|
||||
|
||||
package test.multiPart
|
||||
|
||||
fun main(args: Array<String>) {
|
||||
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
@file:JvmName("MultiPart")
|
||||
@file:JvmMultifileClass
|
||||
|
||||
package test.multiPart
|
||||
|
||||
fun other() {
|
||||
|
||||
}
|
||||
|
||||
+2
@@ -1,3 +1,5 @@
|
||||
package simple
|
||||
|
||||
fun main(args: Array<String>) {
|
||||
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
@file:JvmName("MultiPart")
|
||||
@file:JvmMultifileClass
|
||||
|
||||
package test.multiPart
|
||||
|
||||
fun other() {
|
||||
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
@file:JvmName("MultiPart")
|
||||
@file:JvmMultifileClass
|
||||
|
||||
package test.multiPart
|
||||
|
||||
fun main(args: Array<String>) {
|
||||
|
||||
}
|
||||
+2
@@ -1,3 +1,5 @@
|
||||
package simple
|
||||
|
||||
fun main(args: Array<String>) {
|
||||
|
||||
}
|
||||
@@ -1,3 +1,17 @@
|
||||
<problems>
|
||||
<problem>
|
||||
<file>part2A.kt</file>
|
||||
<line>6</line>
|
||||
<entry_point TYPE="file" FQNAME="part2A.kt" />
|
||||
<problem_class severity="WARNING" attribute_key="NOT_USED_ELEMENT_ATTRIBUTES">Unused symbol</problem_class>
|
||||
<description>Function ''other'' is never used</description>
|
||||
</problem>
|
||||
|
||||
<problem>
|
||||
<file>part1B.kt</file>
|
||||
<line>6</line>
|
||||
<entry_point TYPE="file" FQNAME="part1B.kt" />
|
||||
<problem_class severity="WARNING" attribute_key="NOT_USED_ELEMENT_ATTRIBUTES">Unused symbol</problem_class>
|
||||
<description>Function ''other'' is never used</description>
|
||||
</problem>
|
||||
</problems>
|
||||
Reference in New Issue
Block a user