Propagate inference session from local context into property resolvers

^KT-48633 Fixed
This commit is contained in:
Victor Petukhov
2021-10-04 12:00:14 +03:00
parent 43e9c1223a
commit d50eba62bd
10 changed files with 60 additions and 4 deletions
@@ -171,7 +171,7 @@ protected constructor(
propertyDeclaration,
trace,
c.declarationScopeProvider.getOuterDataFlowInfoForDeclaration(propertyDeclaration),
InferenceSession.default
c.inferenceSession ?: InferenceSession.default
)
result.add(propertyDescriptor)
}
@@ -184,7 +184,7 @@ protected constructor(
entry,
trace,
c.declarationScopeProvider.getOuterDataFlowInfoForDeclaration(entry),
InferenceSession.default
c.inferenceSession ?: InferenceSession.default
)
result.add(propertyDescriptor)
}