[CHERRY PICKED FROM IJ] Simplify API for InlineConstTracker and add testdata
GitOrigin-RevId: b2bcde9e3102d575ca459f475c00022515b6ccba Original commit: https://github.com/JetBrains/intellij-community/commit/f78e98d1ba5b6c142076b67f88c54282c3964c7f
This commit is contained in:
committed by
Nikita Bobko
parent
40dc548fec
commit
6c7a6bf3b1
@@ -367,7 +367,7 @@ class KotlinJvmModuleBuildTarget(kotlinContext: KotlinCompileContext, jpsModuleB
|
||||
|
||||
// process inlineConstTracker
|
||||
for (sourceFile: File in sourceFiles) {
|
||||
val cRefs = inlineConstTracker.inlineConstMap[sourceFile.path]?.map { cRef ->
|
||||
val cRefs = inlineConstTracker.inlineConstMap[sourceFile.path]?.map { cRef: ConstantRef ->
|
||||
val descriptor = when (cRef.constType) {
|
||||
"Byte" -> "B"
|
||||
"Short" -> "S"
|
||||
|
||||
Reference in New Issue
Block a user