Aleph-Alpha / ts-rs

Generate TypeScript bindings from Rust types
MIT License
1.15k stars 115 forks source link

Improve location of some compiler errors #257

Closed escritorio-gustavo closed 8 months ago

escritorio-gustavo commented 8 months ago

This PR improves where the compiler error points when there is an attribute error.

This errors now point at the exact location they should

Errors about incompatible attributes point at the entire field definition

NyxCode commented 8 months ago

This is great, love it!