News for hackers. Stuff that matters.
Re:TypeScript Is Surprisingly OK for Compilers by hardware2win on Friday August 18, 2023 @04:27AM (#37172764)
>compiler can't prove the above code is exhaustive because no proper sum types

Thats because c#s enum is not "closed"

https://github.com/dotnet/csharplang/issues/3179

There are no comments on this comment yet.