mirror of
https://github.com/github/codeql.git
synced 2026-05-25 00:27:09 +02:00
KE2: Fix build
This commit is contained in:
@@ -1,6 +1,5 @@
|
||||
package com.github.codeql
|
||||
|
||||
import com.github.codeql.KotlinUsesExtractor.TypeContext
|
||||
import org.jetbrains.kotlin.analysis.api.KaSession
|
||||
import org.jetbrains.kotlin.analysis.api.symbols.KaFunctionSymbol
|
||||
import org.jetbrains.kotlin.analysis.api.symbols.name
|
||||
@@ -723,4 +722,4 @@ OLD: KE1
|
||||
}
|
||||
*/
|
||||
return id
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
package com.github.codeql
|
||||
|
||||
import com.github.codeql.KotlinUsesExtractor.TypeContext
|
||||
import org.jetbrains.kotlin.analysis.api.types.KaClassType
|
||||
import org.jetbrains.kotlin.analysis.api.types.KaType
|
||||
|
||||
@@ -50,7 +49,7 @@ private fun extractErrorType(): TypeResults {
|
||||
*/
|
||||
|
||||
// TODO
|
||||
fun fakeKotlinType(): Label<out DbKt_type> {
|
||||
fun KotlinUsesExtractor.fakeKotlinType(): Label<out DbKt_type> {
|
||||
val fakeKotlinPackageId: Label<DbPackage> =
|
||||
tw.getLabelFor("@\"FakeKotlinPackage\"", { tw.writePackages(it, "fake.kotlin") })
|
||||
val fakeKotlinClassId: Label<DbClassorinterface> =
|
||||
|
||||
Reference in New Issue
Block a user