@ramsey I agree with the points @mnapoli makes about this on Reddit, it doesn't solve the main problems we need generics for, especially things like lists. Erased generics is preferable - ideally with clean syntax and accessible via reflection. If you're someone who cares about generics you're already using Psalm or Stan.

For me the best effort would be a systems language rewrite of a static analyser to make them faster

@m1ke @ramsey @mnapoli If the only thing to care about is "nice inline syntax" that many people seem to claim to want, then why isn't anyone using/writing a simple preprocessor that converts the inline syntax into doc comments and runs your favourite static analysis tool on top?

You get erased generics, and your static analysis execution similar to how TypeScript behaves.

If you want a SA tool in a compiled language, just have a look at Mago: https://github.com/carthage-software/mago

1 more replies (not shown)