Skip to content

Commit d7c17b2

Browse files
committed
Kotlin: Add more withHasQuestionMark.kt's
1 parent 398f86b commit d7c17b2

File tree

3 files changed

+24
-0
lines changed

3 files changed

+24
-0
lines changed
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
package com.github.codeql.utils.versions
2+
3+
import org.jetbrains.kotlin.ir.types.IrType
4+
import org.jetbrains.kotlin.ir.types.withHasQuestionMark
5+
6+
fun IrType.codeQlWithHasQuestionMark(b : Boolean): IrType {
7+
return this.withHasQuestionMark(b)
8+
}
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
package com.github.codeql.utils.versions
2+
3+
import org.jetbrains.kotlin.ir.types.IrType
4+
import org.jetbrains.kotlin.ir.types.withHasQuestionMark
5+
6+
fun IrType.codeQlWithHasQuestionMark(b : Boolean): IrType {
7+
return this.withHasQuestionMark(b)
8+
}
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
package com.github.codeql.utils.versions
2+
3+
import org.jetbrains.kotlin.ir.types.IrType
4+
import org.jetbrains.kotlin.ir.types.withHasQuestionMark
5+
6+
fun IrType.codeQlWithHasQuestionMark(b : Boolean): IrType {
7+
return this.withHasQuestionMark(b)
8+
}

0 commit comments

Comments
 (0)