kaleidawave / ezno

A JavaScript compiler and TypeScript checker written in Rust with a focus on static analysis and runtime performance
https://kaleidawave.github.io/posts/introducing-ezno/
MIT License
2.3k stars 42 forks source link

Error for excess / extra generic arguments passed to functions #149

Closed kaleidawave closed 2 weeks ago

kaleidawave commented 1 month ago

Currently there is no diagnostic raised for:

To fix

This is already implemented for types with generics btw. And the opposite case is not necessary because that is handled by inference.

kaleidawave commented 2 weeks ago

Implemented in #160 🎉