mirror of
https://github.com/github/codeql.git
synced 2025-12-21 03:06:31 +01:00
Convert primitive arrays to Java arrays
This commit is contained in:
committed by
Ian Lynagh
parent
a92e20e526
commit
055e9b7797
@@ -509,7 +509,7 @@ class X {
|
||||
}
|
||||
*/
|
||||
|
||||
(s.isArray() || s.isNullableArray()) && s.arguments.isNotEmpty() -> {
|
||||
((s.isArray() || s.isNullableArray()) && s.arguments.isNotEmpty()) || s.isPrimitiveArray() -> {
|
||||
// TODO: fix this, this is only a dummy implementation to let the tests pass
|
||||
val elementType = useType(s.getArrayElementType(pluginContext.irBuiltIns))
|
||||
val id = tw.getLabelFor<DbArray>("@\"array;1;{$elementType}\"")
|
||||
|
||||
Reference in New Issue
Block a user