mirror of
https://github.com/microsoft/TypeScript.git
synced 2025-12-11 17:41:26 -06:00
Removed unnecessary check for commas in 'parseDelimitedList'.
This commit is contained in:
parent
cece68098a
commit
5ae265b755
@ -795,7 +795,7 @@ module ts {
|
||||
}
|
||||
else {
|
||||
error(parsingContextErrors(kind));
|
||||
if (token !== SyntaxKind.CommaToken && isInSomeParsingContext()) {
|
||||
if (isInSomeParsingContext()) {
|
||||
break;
|
||||
}
|
||||
nextToken();
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user