mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Merge pull request #69824 from DougGregor/typed-throws-fixes
Yet more typed throws fixes
This commit is contained in:
@@ -640,7 +640,8 @@ public:
|
||||
|
||||
if (auto tryApplyInst = dyn_cast<TryApplyInst>(inst)) {
|
||||
foundResults.emplace_back(tryApplyInst->getNormalBB()->getArgument(0));
|
||||
foundResults.emplace_back(tryApplyInst->getErrorBB()->getArgument(0));
|
||||
if (tryApplyInst->getErrorBB()->getNumArguments() > 0)
|
||||
foundResults.emplace_back(tryApplyInst->getErrorBB()->getArgument(0));
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user