[FE, Java resolve] Support inheritors of sealed Java type without permits clause
This fixes a false negative NO_ELSE_IN_WHEN in K2 and incidentally also fixes a false positive NO_ELSE_IN_WHEN in K1 since the fix is in the common code. #KT-62491 Fixed
This commit is contained in:
committed by
Space Team
parent
15d3bf5e25
commit
ac203591e5
+1
-1
@@ -102,7 +102,7 @@ interface JavaClass : JavaClassifier, JavaTypeParameterListOwner, JavaModifierLi
|
||||
val isEnum: Boolean
|
||||
val isRecord: Boolean
|
||||
val isSealed: Boolean
|
||||
val permittedTypes: Collection<JavaClassifierType>
|
||||
val permittedTypes: Sequence<JavaClassifierType>
|
||||
val lightClassOriginKind: LightClassOriginKind?
|
||||
|
||||
val methods: Collection<JavaMethod>
|
||||
|
||||
Reference in New Issue
Block a user