FIR IDE: Set correct source for the function built in the air
- This enables the completion to work in the declaration itself, not only in body
This commit is contained in:
+1
@@ -77,6 +77,7 @@ object LowLevelFirApiFacade {
|
|||||||
body = builtFunction.body
|
body = builtFunction.body
|
||||||
symbol = builtFunction.symbol as FirNamedFunctionSymbol
|
symbol = builtFunction.symbol as FirNamedFunctionSymbol
|
||||||
resolvePhase = minOf(originalFunction.resolvePhase, FirResolvePhase.DECLARATIONS)
|
resolvePhase = minOf(originalFunction.resolvePhase, FirResolvePhase.DECLARATIONS)
|
||||||
|
source = builtFunction.source
|
||||||
this.session = state.firIdeSourcesSession
|
this.session = state.firIdeSourcesSession
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user