ansman
04/05/2024, 12:54 AMFirResolvedArgumentList
which requires a FirExpression
and a FirValueParameter
. The latter I have but I'm unsure about the former. I'm accepting parameters that I'd like to reference. What expression should I use to reference a value parameter? I tried buildSingleExpressionBlock
but that doesn't seem to be itansman
04/05/2024, 1:15 AMtoQualifiedAccess
. But I need to reference the delegate constructor's parameters but all I have is a FirClassSymbol
which can give me a FirValueParameterSymbol
but I need a FirValueParameter
. Is there a sane way to convert between symbols and elements without using .fir
?Javier
04/05/2024, 7:34 AMbuild*
and only use create*
method except you don’t find any create*
methodJavier
04/05/2024, 7:34 AM.fir
?ansman
04/05/2024, 6:46 PM@SymbolInternals
Javier
04/05/2024, 6:47 PMdmitriy.novozhilov
04/08/2024, 8:20 AMsymbol.fir
itself, but you can't rely on any data in it without calling lazy resolve (which is done under the hood when you use accessors on symbols)