mirror of
https://github.com/github/codeql.git
synced 2025-12-24 04:36:35 +01:00
Kotlin: Add withHasQuestionMark for older releases
This commit is contained in:
@@ -0,0 +1,8 @@
|
|||||||
|
package com.github.codeql.utils.versions
|
||||||
|
|
||||||
|
import org.jetbrains.kotlin.ir.types.IrType
|
||||||
|
import org.jetbrains.kotlin.ir.types.withHasQuestionMark
|
||||||
|
|
||||||
|
fun IrType.codeQlWithHasQuestionMark(b : Boolean): IrType {
|
||||||
|
return this.withHasQuestionMark(b)
|
||||||
|
}
|
||||||
@@ -0,0 +1,8 @@
|
|||||||
|
package com.github.codeql.utils.versions
|
||||||
|
|
||||||
|
import org.jetbrains.kotlin.ir.types.IrType
|
||||||
|
import org.jetbrains.kotlin.ir.types.withHasQuestionMark
|
||||||
|
|
||||||
|
fun IrType.codeQlWithHasQuestionMark(b : Boolean): IrType {
|
||||||
|
return this.withHasQuestionMark(b)
|
||||||
|
}
|
||||||
@@ -0,0 +1,8 @@
|
|||||||
|
package com.github.codeql.utils.versions
|
||||||
|
|
||||||
|
import org.jetbrains.kotlin.ir.types.IrType
|
||||||
|
import org.jetbrains.kotlin.ir.types.withHasQuestionMark
|
||||||
|
|
||||||
|
fun IrType.codeQlWithHasQuestionMark(b : Boolean): IrType {
|
||||||
|
return this.withHasQuestionMark(b)
|
||||||
|
}
|
||||||
@@ -0,0 +1,8 @@
|
|||||||
|
package com.github.codeql.utils.versions
|
||||||
|
|
||||||
|
import org.jetbrains.kotlin.ir.types.IrType
|
||||||
|
import org.jetbrains.kotlin.ir.types.withHasQuestionMark
|
||||||
|
|
||||||
|
fun IrType.codeQlWithHasQuestionMark(b : Boolean): IrType {
|
||||||
|
return this.withHasQuestionMark(b)
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user