From 06b0fc7e4cc46a0c5c6b72de564b0bcfa801f24d Mon Sep 17 00:00:00 2001 From: "Denis.Zharkov" Date: Mon, 17 Jul 2023 17:35:52 +0200 Subject: [PATCH] K2: Minor. Add comment for Candidate::substitutor --- .../src/org/jetbrains/kotlin/fir/resolve/calls/Candidate.kt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/compiler/fir/resolve/src/org/jetbrains/kotlin/fir/resolve/calls/Candidate.kt b/compiler/fir/resolve/src/org/jetbrains/kotlin/fir/resolve/calls/Candidate.kt index 1ebc1be02cd..f970ea5a745 100644 --- a/compiler/fir/resolve/src/org/jetbrains/kotlin/fir/resolve/calls/Candidate.kt +++ b/compiler/fir/resolve/src/org/jetbrains/kotlin/fir/resolve/calls/Candidate.kt @@ -60,6 +60,9 @@ class Candidate( override val errors: List get() = system.errors + /** + * Substitutor from declared type parameters to type variables created for that candidate + */ lateinit var substitutor: ConeSubstitutor lateinit var freshVariables: List var resultingTypeForCallableReference: ConeKotlinType? = null