K2 IC: fix lookup recording for a "red" companion object
#KT-63665 fixed
This commit is contained in:
committed by
Space Team
parent
6dfcc927f4
commit
ed820d6b57
+23
@@ -0,0 +1,23 @@
|
||||
================ Step #1 =================
|
||||
|
||||
After chunkBuildStarted. Marked as dirty by Kotlin:
|
||||
src/main.kt
|
||||
Cleaning output files:
|
||||
out/production/module/A$Companion.class
|
||||
out/production/module/A.class
|
||||
out/production/module/META-INF/module.kotlin_module
|
||||
End of files
|
||||
Compiling files:
|
||||
src/main.kt
|
||||
End of files
|
||||
Exit code: ABORT
|
||||
------------------------------------------
|
||||
COMPILATION FAILED
|
||||
|
||||
================ Step #2 =================
|
||||
|
||||
Compiling files:
|
||||
src/main.kt
|
||||
End of files
|
||||
Exit code: OK
|
||||
------------------------------------------
|
||||
@@ -0,0 +1,7 @@
|
||||
class A() {
|
||||
|
||||
companion object {
|
||||
fun equals(): Boolean =
|
||||
TODO()
|
||||
}
|
||||
}
|
||||
+8
@@ -0,0 +1,8 @@
|
||||
class A() {
|
||||
} // extra curly brace
|
||||
|
||||
companion object {
|
||||
fun equals(): Boolean =
|
||||
TODO()
|
||||
}
|
||||
}
|
||||
+7
@@ -0,0 +1,7 @@
|
||||
class A() {
|
||||
|
||||
companion object {
|
||||
fun equals(): Boolean =
|
||||
TODO()
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user