johnyob / grace

A fancy diagnostics library that allows your compilers to exit with grace
MIT License
71 stars 2 forks source link

🔮 Refactor: Add locus support in `Snippet` #6

Closed johnyob closed 10 months ago

johnyob commented 10 months ago

Context

Currently we compute the diagnostic's locus in Ansi.ml. This should be a field in source in Snippet.ml