mirror of
https://github.com/github/codeql.git
synced 2025-12-18 01:33:15 +01:00
Function trap ids: remove spaces between value parameters
Otherwise these won't match the IDs used by the Java extractor.
This commit is contained in:
committed by
Ian Lynagh
parent
f38f03e6c9
commit
f177c2c5ae
@@ -628,7 +628,7 @@ class X {
|
||||
params.addAll(parameters)
|
||||
params
|
||||
}
|
||||
val paramTypeIds = allParams.joinToString { "{${useType(erase(it.type)).javaResult.id}}" }
|
||||
val paramTypeIds = allParams.joinToString(separator = ",") { "{${useType(erase(it.type)).javaResult.id}}" }
|
||||
val labelReturnType = if (name == "<init>") pluginContext.irBuiltIns.unitType else erase(returnType)
|
||||
val returnTypeId = useType(labelReturnType, TypeContext.RETURN).javaResult.id
|
||||
// This suffix is added to generic methods (and constructors) to match the Java extractor's behaviour.
|
||||
|
||||
Reference in New Issue
Block a user