mirror of
https://github.com/github/codeql.git
synced 2025-12-18 01:33:15 +01:00
Make IntelliJ parse block TODO properly
This commit is contained in:
committed by
Ian Lynagh
parent
2a6afff8ba
commit
36356c2937
@@ -2694,8 +2694,8 @@ open class KotlinFileExtractor(
|
||||
|
||||
private fun extractTypeAccess(type: TypeResults, location: Label<DbLocation>, parent: Label<out DbExprparent>, idx: Int): Label<out DbExpr> {
|
||||
// TODO: elementForLocation allows us to give some sort of
|
||||
// location, but a proper location for the type access will
|
||||
// require upstream changes
|
||||
// location, but a proper location for the type access will
|
||||
// require upstream changes
|
||||
val id = tw.getFreshIdLabel<DbUnannotatedtypeaccess>()
|
||||
tw.writeExprs_unannotatedtypeaccess(id, type.javaResult.id, parent, idx)
|
||||
tw.writeExprsKotlinType(id, type.kotlinResult.id)
|
||||
|
||||
Reference in New Issue
Block a user