Pass isPackage = false when processing class proto

KT-8487
This commit is contained in:
Alexey Tsvetkov
2016-02-19 16:00:09 +03:00
parent eff972d613
commit ba386f031b
7 changed files with 14 additions and 8 deletions
@@ -191,7 +191,7 @@ open class IncrementalCacheImpl<Target>(
addToClassStorage(kotlinClass, sourceFiles.first()) addToClassStorage(kotlinClass, sourceFiles.first())
protoMap.process(kotlinClass, isPackage = false) + protoMap.process(kotlinClass, isPackage = false) +
constantsMap.process(kotlinClass, isPackage = true) + constantsMap.process(kotlinClass, isPackage = false) +
inlineFunctionsMap.process(kotlinClass, isPackage = false) inlineFunctionsMap.process(kotlinClass, isPackage = false)
} }
else -> CompilationResult.NO_CHANGES else -> CompilationResult.NO_CHANGES
@@ -16,4 +16,4 @@ Compiling files:
src/usage.kt src/usage.kt
End of files End of files
Exit code: OK Exit code: OK
------------------------------------------ ------------------------------------------
@@ -7,7 +7,9 @@ End of files
Compiling files: Compiling files:
src/const.kt src/const.kt
End of files End of files
Exit code: OK Marked as dirty by Kotlin:
src/usage.kt
Exit code: ADDITIONAL_PASS_REQUIRED
------------------------------------------ ------------------------------------------
Cleaning output files: Cleaning output files:
out/production/module/test/Klass$Companion.class out/production/module/test/Klass$Companion.class
@@ -19,4 +21,4 @@ Compiling files:
src/usage.kt src/usage.kt
End of files End of files
Exit code: OK Exit code: OK
------------------------------------------ ------------------------------------------
@@ -15,4 +15,4 @@ Compiling files:
src/usage.kt src/usage.kt
End of files End of files
Exit code: OK Exit code: OK
------------------------------------------ ------------------------------------------
@@ -6,7 +6,9 @@ End of files
Compiling files: Compiling files:
src/const.kt src/const.kt
End of files End of files
Exit code: OK Marked as dirty by Kotlin:
src/usage.kt
Exit code: ADDITIONAL_PASS_REQUIRED
------------------------------------------ ------------------------------------------
Cleaning output files: Cleaning output files:
out/production/module/test/Object.class out/production/module/test/Object.class
@@ -16,4 +16,4 @@ Compiling files:
src/usage.kt src/usage.kt
End of files End of files
Exit code: OK Exit code: OK
------------------------------------------ ------------------------------------------
@@ -7,7 +7,9 @@ End of files
Compiling files: Compiling files:
src/const.kt src/const.kt
End of files End of files
Exit code: OK Marked as dirty by Kotlin:
src/usage.kt
Exit code: ADDITIONAL_PASS_REQUIRED
------------------------------------------ ------------------------------------------
Cleaning output files: Cleaning output files:
out/production/module/test/Trait$Companion.class out/production/module/test/Trait$Companion.class