Serialization: Bubble up errors under readParameterList

rdar://131002388
This commit is contained in:
Alexis Laferrière
2024-07-29 11:26:13 -07:00
parent fb0a1b96ae
commit 1311a8097d
2 changed files with 23 additions and 11 deletions

View File

@@ -502,7 +502,7 @@ private:
/// Recursively reads a pattern from \c DeclTypeCursor.
llvm::Expected<Pattern *> readPattern(DeclContext *owningDC);
ParameterList *readParameterList();
llvm::Expected<ParameterList *> readParameterList();
/// Reads a generic param list from \c DeclTypeCursor.
///