mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-09-28 08:30:10 +01:00
Fix the algorithm for importing declarations in dependency order to properly walk the dependency graph. Add the parent declaration of a declaration to the dependency set so that we have a parent declaration context to import a declaration into. Fixes a crash when attempting to import a class whose parent is not imported.