Sealed types
Mark Raynsford
mark at io7m.com
Fri Nov 30 16:53:00 UTC 2018
On 2018-11-30T11:16:51 -0500
Brian Goetz <brian.goetz at oracle.com> wrote:
>
> Yes. As mentioned before, I expect unsealing a _class_ to be more
> common than unsealing an _interface_, because classes have more tools
> with which to defend against rogue subtypes.
>
Sounds good, thanks!
Do you have any documentation on how Scala's opt-in (not transitive)
sealing became a source of bugs? This is news to me, I actually would
have expected the opposite.
--
Mark Raynsford | http://www.io7m.com
More information about the amber-spec-experts
mailing list