Make IntelliJ parse block TODO properly

This commit is contained in:
Chris Smowton
2022-02-10 16:02:37 +00:00
committed by Ian Lynagh
parent 2a6afff8ba
commit 36356c2937

View File

@@ -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)