File tree Expand file tree Collapse file tree 8 files changed +4
-23
lines changed
java/kotlin-extractor/src/main/kotlin Expand file tree Collapse file tree 8 files changed +4
-23
lines changed Original file line number Diff line number Diff line change @@ -8053,7 +8053,7 @@ open class KotlinFileExtractor(
80538053 ?.symbol
80548054 ?.typeWithArguments(listOf (functionNTypeArguments.last()))
80558055 else
8056- functionN( pluginContext) (functionNTypeArguments.size - 1 )
8056+ pluginContext.irBuiltIns.functionN (functionNTypeArguments.size - 1 )
80578057 .symbol
80588058 .typeWithArguments(functionNTypeArguments)
80598059
Original file line number Diff line number Diff line change @@ -2,7 +2,6 @@ package com.github.codeql
22
33import com.github.codeql.utils.versions.copyParameterToFunction
44import com.github.codeql.utils.versions.createImplicitParameterDeclarationWithWrappedDescriptor
5- import com.github.codeql.utils.versions.getAnnotationType
65import java.lang.annotation.ElementType
76import java.util.HashSet
87import org.jetbrains.kotlin.backend.common.extensions.IrPluginContext
@@ -375,7 +374,7 @@ class MetaAnnotationSupport(
375374 .apply {
376375 createImplicitParameterDeclarationWithWrappedDescriptor()
377376 parent = annotationClass
378- superTypes = listOf (getAnnotationType( pluginContext) )
377+ superTypes = listOf (pluginContext.irBuiltIns.annotationType )
379378 }
380379
381380 val propertyName = Name .identifier(" value" )
Load Diff This file was deleted.
Load Diff This file was deleted.
Load Diff This file was deleted.
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 11package com.github.codeql.utils.versions
22
33import org.jetbrains.kotlin.ir.types.*
4+ import org.jetbrains.kotlin.ir.IrBuiltIns
45
56fun IrType.isNullableCodeQL (): Boolean =
67 this .isNullable()
Original file line number Diff line number Diff line change @@ -2,6 +2,7 @@ package com.github.codeql.utils.versions
22
33import org.jetbrains.kotlin.ir.types.IrType
44import org.jetbrains.kotlin.ir.util.*
5+ import org.jetbrains.kotlin.ir.IrBuiltIns
56
67fun IrType.isNullableCodeQL (): Boolean =
78 this .isNullable()
You can’t perform that action at this time.
0 commit comments