[Analysis API FIR] fix containing declaration for value parameter
now it should also work for non-source declarations
This commit is contained in:
+1
-2
@@ -54,8 +54,7 @@ internal class KtFirSymbolContainingDeclarationProvider(
|
||||
}
|
||||
|
||||
is KtValueParameterSymbol -> {
|
||||
// todo that does not work for parameters not from source, corresponding info should be added to the fir tree
|
||||
getParentSymbolByPsi()
|
||||
firSymbolBuilder.callableBuilder.buildCallableSymbol(symbol.firSymbol.fir.containingFunctionSymbol)
|
||||
}
|
||||
|
||||
is KtCallableSymbol -> {
|
||||
|
||||
Reference in New Issue
Block a user