mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Ungate accepted parts of SE439
This commit is contained in:
@@ -134,8 +134,7 @@ Parser::parseGenericParametersBeforeWhere(SourceLoc LAngleLoc,
|
||||
|
||||
// Parse the comma, if the list continues.
|
||||
HasNextParam = consumeIf(tok::comma);
|
||||
IsEndOfList = (Context.LangOpts.hasFeature(Feature::TrailingComma) &&
|
||||
startsWithGreater(Tok));
|
||||
IsEndOfList = startsWithGreater(Tok);
|
||||
} while (HasNextParam && !IsEndOfList);
|
||||
|
||||
return Result;
|
||||
|
||||
Reference in New Issue
Block a user