Feature request: Apply SealedInterop.Enabled to sealed class and its children #21
corrado4eyes
started this conversation in
Ideas
Replies: 1 comment 1 reply
-
We are considering redoing the configuration completely because there are many other (similar) shortcomings that are difficult to fix with the current design. Unfortunately, it's not an insignificant amount of work, so it might take a while. In the meantime, you could configure the interop using Gradle groups, which has this behavior because it matches a prefix of the class fqname.
|
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
When I use
@SealedInterop.Enabled
on a parent sealed class without applying it to its sealed class children, SKIE will generate the enum only for the parent.Is it possible to apply the annotation to the parent class and have it enabled also for its subclasses?
E.g here SKIE will generate an enum for
ParentClass
, but not forSealedChild1
andSealedChild2
cases.I would expect that since
SealedChild1
andSealedChild2
extendsParentClass
(which has the annotation), then they also have a generated enum.Beta Was this translation helpful? Give feedback.
All reactions