[FIR] Fix resolve inside lambda

The lambda is passed to extension function with type parameters
that defined inside this lambda

^KT-52197
^KT-52190 Fixed
This commit is contained in:
Ivan Kochurkin
2022-04-28 13:26:03 +03:00
parent e69250a9fe
commit feb3f41108
15 changed files with 114 additions and 11 deletions
@@ -650,7 +650,10 @@ object FirErrorsDefaultMessages : BaseDiagnosticRendererFactory() {
map.put(SUPER_IS_NOT_AN_EXPRESSION, "Super cannot be a callee")
map.put(SUPER_NOT_AVAILABLE, "No supertypes are accessible in this context")
map.put(ABSTRACT_SUPER_CALL, "Abstract member cannot be accessed directly")
map.put(ABSTRACT_SUPER_CALL_WARNING, "Abstract fake override member access is deprecated. See https://youtrack.jetbrains.com/issue/KT-49017")
map.put(
ABSTRACT_SUPER_CALL_WARNING,
"Abstract fake override member access is deprecated. See https://youtrack.jetbrains.com/issue/KT-49017"
)
map.put(
INSTANCE_ACCESS_BEFORE_SUPER_CALL,
"Cannot access ''{0}'' before superclass constructor has been called",