mirror of
https://github.com/github/codeql.git
synced 2025-12-18 01:33:15 +01:00
Extract generic constructor calls
This commit is contained in:
committed by
Ian Lynagh
parent
d4519eb1bc
commit
b601cdeb8f
@@ -1153,7 +1153,7 @@ open class KotlinFileExtractor(
|
||||
type = useType(e.type)
|
||||
}
|
||||
val locId = tw.getLocation(e)
|
||||
val methodId = useFunction<DbConstructor>(e.symbol.owner)
|
||||
val methodId = useFunction<DbConstructor>(e.symbol.owner, (e.type as? IrSimpleType)?.arguments)
|
||||
tw.writeExprs_newexpr(id, type.javaResult.id, type.kotlinResult.id, parent, idx)
|
||||
tw.writeHasLocation(id, locId)
|
||||
tw.writeCallableEnclosingExpr(id, callable)
|
||||
|
||||
Reference in New Issue
Block a user