diff --git a/compiler/fir/semantics/src/org/jetbrains/kotlin/fir/resolve/calls/ResolutionDiagnostic.kt b/compiler/fir/semantics/src/org/jetbrains/kotlin/fir/resolve/calls/ResolutionDiagnostic.kt index 487a96a59e3..3102a5b972d 100644 --- a/compiler/fir/semantics/src/org/jetbrains/kotlin/fir/resolve/calls/ResolutionDiagnostic.kt +++ b/compiler/fir/semantics/src/org/jetbrains/kotlin/fir/resolve/calls/ResolutionDiagnostic.kt @@ -97,7 +97,9 @@ class UnsafeCall(val actualType: ConeKotlinType) : ResolutionDiagnostic(UNSAFE_C object LowerPriorityToPreserveCompatibilityDiagnostic : ResolutionDiagnostic(RESOLVED_NEED_PRESERVE_COMPATIBILITY) -object LowerPriorityForDynamic : ResolutionDiagnostic(RESOLVED_LOW_PRIORITY) +// TODO: change this to RESOLVED_LOW_PRIORITY after we are able to process dynamic extensions properly +// At the moment we stop resolve on synthetic dynamic members, which is not correct +object LowerPriorityForDynamic : ResolutionDiagnostic(K2_SYNTHETIC_RESOLVED) object CandidateChosenUsingOverloadResolutionByLambdaAnnotation : ResolutionDiagnostic(RESOLVED)