mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-05-15 04:43:37 -05:00
Removed unnecessary check for commas in 'parseDelimitedList'.
This commit is contained in:
@@ -795,7 +795,7 @@ module ts {
|
||||
}
|
||||
else {
|
||||
error(parsingContextErrors(kind));
|
||||
if (token !== SyntaxKind.CommaToken && isInSomeParsingContext()) {
|
||||
if (isInSomeParsingContext()) {
|
||||
break;
|
||||
}
|
||||
nextToken();
|
||||
|
||||
Reference in New Issue
Block a user