Join Slack
Powered by
if i’m trying to mark a `sealed class` hierarchy a...
# compose
g
grandstaish
11/23/2020, 4:52 PM
if i’m trying to mark a
sealed class
hierarchy as
@Immutable
, should i annotate the base class, the subclasses, or both?
l
Leland Richardson [G]
11/23/2020, 4:53 PM
IIRC, the base class should be enough
👍 1
g
grandstaish
11/23/2020, 4:53 PM
thanks leland!
l
Leland Richardson [G]
11/23/2020, 4:53 PM
let me know if you observe otherwise!
👍 1
3
Views
Open in Slack
Previous
Next