Merge pull request #32091 from hamishknight/standard-error

This commit is contained in:
Hamish Knight
2020-06-02 14:17:05 -07:00
committed by GitHub
5 changed files with 34 additions and 28 deletions

View File

@@ -642,10 +642,11 @@ private:
public:
void freeASTContext();
private:
/// Load stdlib & return true if should continue, i.e. no error
bool loadStdlib();
/// If an implicit standard library import is expected, loads the standard
/// library, returning \c false if we should continue, i.e. no error.
bool loadStdlibIfNeeded();
private:
/// Retrieve a description of which modules should be implicitly imported.
ImplicitImportInfo getImplicitImportInfo() const;