Fixed
Status Update
Comments
hu...@google.com <hu...@google.com>
js...@google.com <js...@google.com>
js...@google.com <js...@google.com>
js...@google.com <js...@google.com>
an...@google.com <an...@google.com> #2
Forgot to add the second screenshot. Here it is
an...@google.com <an...@google.com> #3
Hi! I don't seem to be able to reproduce this behavior. As far as the resolution goes, these are treated exactly the same under the hood so I'm not sure how there would be a discrepancy.
I did notice that in your example, you are missing a semicolon after "age" in the PersonView
, and when I left that out, I got the same issue with things not resolving, but once I put the semicolon then everything worked as expected. Just want to verify that that's not the cause.
Description
When @Parcelize support was added for sealed classes the final implementation also included support for sealed interfaces , however Lint still gives the following warning for deriving classes:
Sample snippet:
This warning was fixed for the sealed class case in a previous issue , but sealed interfaces still report the warning, requiring the annotation on each child to remove the warning despite the code running successfully with just the parent annotation.
Studio Build: #AI-242.23339.11.2421.12483815
Version of Gradle Plugin: 8.3.1
Version of Gradle: 8.11
OS: MacOS 15.2