Pass isPackage = false when processing class proto
KT-8487
This commit is contained in:
@@ -191,7 +191,7 @@ open class IncrementalCacheImpl<Target>(
|
||||
addToClassStorage(kotlinClass, sourceFiles.first())
|
||||
|
||||
protoMap.process(kotlinClass, isPackage = false) +
|
||||
constantsMap.process(kotlinClass, isPackage = true) +
|
||||
constantsMap.process(kotlinClass, isPackage = false) +
|
||||
inlineFunctionsMap.process(kotlinClass, isPackage = false)
|
||||
}
|
||||
else -> CompilationResult.NO_CHANGES
|
||||
|
||||
+1
-1
@@ -16,4 +16,4 @@ Compiling files:
|
||||
src/usage.kt
|
||||
End of files
|
||||
Exit code: OK
|
||||
------------------------------------------
|
||||
------------------------------------------
|
||||
Vendored
+4
-2
@@ -7,7 +7,9 @@ End of files
|
||||
Compiling files:
|
||||
src/const.kt
|
||||
End of files
|
||||
Exit code: OK
|
||||
Marked as dirty by Kotlin:
|
||||
src/usage.kt
|
||||
Exit code: ADDITIONAL_PASS_REQUIRED
|
||||
------------------------------------------
|
||||
Cleaning output files:
|
||||
out/production/module/test/Klass$Companion.class
|
||||
@@ -19,4 +21,4 @@ Compiling files:
|
||||
src/usage.kt
|
||||
End of files
|
||||
Exit code: OK
|
||||
------------------------------------------
|
||||
------------------------------------------
|
||||
@@ -15,4 +15,4 @@ Compiling files:
|
||||
src/usage.kt
|
||||
End of files
|
||||
Exit code: OK
|
||||
------------------------------------------
|
||||
------------------------------------------
|
||||
+3
-1
@@ -6,7 +6,9 @@ End of files
|
||||
Compiling files:
|
||||
src/const.kt
|
||||
End of files
|
||||
Exit code: OK
|
||||
Marked as dirty by Kotlin:
|
||||
src/usage.kt
|
||||
Exit code: ADDITIONAL_PASS_REQUIRED
|
||||
------------------------------------------
|
||||
Cleaning output files:
|
||||
out/production/module/test/Object.class
|
||||
|
||||
+1
-1
@@ -16,4 +16,4 @@ Compiling files:
|
||||
src/usage.kt
|
||||
End of files
|
||||
Exit code: OK
|
||||
------------------------------------------
|
||||
------------------------------------------
|
||||
jps-plugin/testData/incremental/pureKotlin/traitClassObjectConstantChanged/experimental-ic-build.log
Vendored
+3
-1
@@ -7,7 +7,9 @@ End of files
|
||||
Compiling files:
|
||||
src/const.kt
|
||||
End of files
|
||||
Exit code: OK
|
||||
Marked as dirty by Kotlin:
|
||||
src/usage.kt
|
||||
Exit code: ADDITIONAL_PASS_REQUIRED
|
||||
------------------------------------------
|
||||
Cleaning output files:
|
||||
out/production/module/test/Trait$Companion.class
|
||||
|
||||
Reference in New Issue
Block a user