CanSealedSubClassBeObjectInspection: don't report if sub-class has classModifier

#KT-38790 Fixed
This commit is contained in:
Toshiaki Kameyama
2020-05-13 06:39:08 +09:00
committed by Yan Zhulanow
parent cea879cbd5
commit 3272b8fc2c
7 changed files with 67 additions and 2 deletions
@@ -0,0 +1,5 @@
// PROBLEM: none
// DISABLE-ERRORS
sealed class Bar
enum <caret>class Foo : Bar()