[FIR] Don't miss modality of anonymous objects in canHaveSubtypes()
They are not `FirRegularClassSymbol`, but are final. `FirClassSymbol` is enough, because `toSymbol()` returns `FirClassifierSymbol`, and: - type parameters are always expected to have subtypes - typealiases have been expanded in the previous line
This commit is contained in:
committed by
Space Team
parent
226d4df277
commit
bb812add14
@@ -1,3 +1,4 @@
|
||||
// FIR_IDENTICAL
|
||||
// !LANGUAGE: -ProhibitComparisonOfIncompatibleEnums
|
||||
|
||||
interface I {
|
||||
|
||||
Reference in New Issue
Block a user