Inject non-context dependent CallCheckers instead of getting them from context
This commit is contained in:
@@ -63,7 +63,7 @@ public class JsCallChecker : CallChecker {
|
||||
}
|
||||
}
|
||||
|
||||
override fun <F : CallableDescriptor?> check(resolvedCall: ResolvedCall<F>, context: BasicCallResolutionContext) {
|
||||
override fun <F : CallableDescriptor> check(resolvedCall: ResolvedCall<F>, context: BasicCallResolutionContext) {
|
||||
if (context.isAnnotationContext || !resolvedCall.isJsCall()) return
|
||||
|
||||
val expression = resolvedCall.getCall().getCallElement()
|
||||
|
||||
Reference in New Issue
Block a user