The import resolution and caching code was quite complicated: higher-level functions when not really needed, unidiomatic error handling, bad separation of concerns.
This loses many unit tests, but imho it's worth it because the new code is so much clearer than the old code+unit tests. Might add some back as needed one day.
The import resolution and caching code was quite complicated: higher-level functions when not really needed, unidiomatic error handling, bad separation of concerns. This loses many unit tests, but imho it's worth it because the new code is so much clearer than the old code+unit tests. Might add some back as needed one day.