Merge pull request #10591 from tamasvajk/kotlin-unbound-symbol

Kotlin: Log error when unbound symbol is found
This commit is contained in:
Tamás Vajk
2022-09-28 14:45:13 +02:00
committed by GitHub
7 changed files with 14 additions and 103 deletions

View File

@@ -183,8 +183,6 @@ app/src/main/kotlin/testProject/App.kt:
# 7| 0: [ReturnStmt] return ...
# 7| 0: [ArrayCreationExpr] new KSerializer<?>[]
# 7| -2: [ArrayInit] {...}
# 7| 0: [VarAccess] INSTANCE
# 7| 1: [VarAccess] INSTANCE
# 7| -1: [TypeAccess] KSerializer<?>
# 7| 0: [IntegerLiteral] 2
# 0| 3: [Method] deserialize

View File

@@ -1 +1 @@
| CodeQL Kotlin extractor | 2 | | Unbound object value, trying to use class stub from descriptor | app/src/main/kotlin/testProject/App.kt:7:1:8:55 | app/src/main/kotlin/testProject/App.kt:7:1:8:55 |
| CodeQL Kotlin extractor | 5 | | Unbound symbol found, skipping extraction of expression | app/src/main/kotlin/testProject/App.kt:7:1:8:55 | app/src/main/kotlin/testProject/App.kt:7:1:8:55 |