mirror of
https://github.com/github/codeql.git
synced 2025-12-21 03:06:31 +01:00
Extract generic constructor calls
This commit is contained in:
committed by
Ian Lynagh
parent
cfb839ac91
commit
b8af2e6e40
@@ -1136,7 +1136,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