[Analysis API] support unsigned arrays creation functions

IDEA-335151, KT-62663


Merge-request: KT-MR-12614
Merged-by: Alexander Kuznetsov <Aleksander.Kuznetsov@jetbrains.com>
This commit is contained in:
Alexander Kuznetsov
2023-10-18 10:53:52 +00:00
committed by Space Team
parent 4922223bec
commit 45792c2e60
6 changed files with 51 additions and 8 deletions
@@ -0,0 +1,4 @@
// WITH_STDLIB
fun foo() {
println(<expr>uintArrayOf(42u)</expr>)
}
@@ -0,0 +1,28 @@
KtSuccessCallInfo:
call = KtSimpleFunctionCall:
isImplicitInvoke = false
partiallyAppliedSymbol = KtPartiallyAppliedSymbol:
dispatchReceiver = null
extensionReceiver = null
signature = KtFunctionLikeSignature:
receiverType = null
returnType = kotlin.UIntArray
symbol = kotlin/uintArrayOf(vararg elements: kotlin.UInt): kotlin.UIntArray
valueParameters = [
KtVariableLikeSignature:
name = elements
receiverType = null
returnType = kotlin.UInt
symbol = vararg elements: kotlin.UInt
callableIdIfNonLocal = null
]
callableIdIfNonLocal = kotlin/uintArrayOf
typeArgumentsMapping = {}
argumentMapping = {
42u -> (KtVariableLikeSignature:
name = elements
receiverType = null
returnType = kotlin.UInt
symbol = vararg elements: kotlin.UInt
callableIdIfNonLocal = null)
}