Closed a-frantz closed 5 months ago
I think we can live with the two match
statements for now, as I don't think we can chain the two iterators together since they're different concrete types due to the E
type parameter.
The solution will be to have a single list of lint rules moving forward in the new implementation, where everything is based off the AST.
I'm hoping that we might even put them in their own crate, such as wdl-lint
.
All the functionality changes here are quite straightforward. I added a new dependency,
colored
, in order to get some "prettier" explain output. Maybe there's more we can do in that direction?