When adding extensions to the type resolver that the builder used, the logic was adding too many. For a given import, it was incorrectly adding all extensions visible to that imported file, instead of just the extensions made visible to the importing file.
When adding extensions to the type resolver that the builder used, the logic was adding too many. For a given import, it was incorrectly adding all extensions visible to that imported file, instead of just the extensions made visible to the importing file.
Fixes #589