[SR-7701] Apparently incorrect compiler error on static property with same name as instance property #50241
Labels
bug
A deviation from expected or documented behavior. Also: expected but undesirable behavior.
compiler
The Swift compiler in itself
type checker
Area → compiler: Semantic analysis
Additional Detail from JIRA
md5: cf827d8092123ff25e9988a5693636a4
Issue Description:
The following code results in an error:
This would appear to be incorrect as the
type
is clearly a metatype and not an instance, so it is odd that the compiler would complain about an instance property being accessed here. It is of course true that `UICollectionReusableView` has an instance property with that name.The text was updated successfully, but these errors were encountered: