[LightTree] Stop reporting NAME_IN_CONSTRAINT_IS_NOT_A_TYPE_PARAMETER on
...local properties to make it similar to PSI. See this logic in `org.jetbrains.kotlin.fir.builder.PsiRawFirBuilder.Visitor.toFirProperty` ^KT-62704
This commit is contained in:
committed by
Space Team
parent
3c8855c152
commit
d22cc01638
+3
-1
@@ -1456,7 +1456,9 @@ class LightTreeRawFirDeclarationBuilder(
|
||||
|
||||
contextReceivers.addAll(convertContextReceivers(property))
|
||||
}.also {
|
||||
fillDanglingConstraintsTo(firTypeParameters, typeConstraints, it)
|
||||
if (!isLocal) {
|
||||
fillDanglingConstraintsTo(firTypeParameters, typeConstraints, it)
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user