| commit | febfc0cac4108399fae9be1f732c8905bb0721d4 | [log] [tgz] |
|---|---|---|
| author | Steven Moreland <smoreland@google.com> | Thu Dec 12 16:32:48 2019 -0800 |
| committer | Steven Moreland <smoreland@google.com> | Fri Dec 13 01:10:22 2019 +0000 |
| tree | 9bba141b7b2d4d0bd0e3ade8f862c3c4e76454c4 | |
| parent | b35fcbe468ba5f674b78ef06dfe9dfc7403b0d71 [diff] [blame] |
Find type, add import/spelling hint. Bug: N/A Test: N/A Change-Id: Ibf655868a41ca3d0d1061584ce1c4a919c6b4cc7
diff --git a/AST.cpp b/AST.cpp index 4eba768..31fe190 100644 --- a/AST.cpp +++ b/AST.cpp
@@ -214,7 +214,8 @@ if (nextType == nullptr) { std::cerr << "ERROR: Failed to lookup type '" << nextRef->getLookupFqName().string() << "' at " - << nextRef->location() << "\n"; + << nextRef->location() + << " (is it imported and spelled correctly?)\n"; return UNKNOWN_ERROR; } nextRef->set(nextType);