Commits

Devin Coughlin committed 6b5a3d775ea
[Sema]Construct type refinement hierarchy for other source files Resolving signatures of declarations from files other than the primary source file causes first-pass type checking, including diagnostics for potential unavailability, to be performed on those declarations. Prior to this commit, the type refinement context hierarchy was only constructed for the primary file, so spurious errors were emitted when checking declarations in other files. With this commit, the availability checker builds the hierarchy for a source file the first time its hierarchy is queried. We will eventually want to build the hierarchy more lazily, but that will come later. Swift SVN r25746