On 2025-03-20 18:50, Daniel Scherzer wrote:
The original inspiration which I discussed in the RFC is fixing the
signature of the BackedEnum methods, which currently use the second
option.
Hey,
I'm not opposed to having a bottom type, but the `try`/`tryFrom` issue
feels caused by another shortcoming.
In my view`from` and `tryFrom` are factory methods that construct an
instance by being called on the class itself. As such they should not be
subject to LSP at all, just like __construct is not.
BR,
Juris