mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-05-23 07:07:09 -05:00
Don't use underscores in names.
This commit is contained in:
@@ -1708,7 +1708,7 @@ module ts {
|
||||
|
||||
// Because we use this for index signatures as well, we sometimes use
|
||||
// parentheses, and sometimes use brackets.
|
||||
function parseParameterList(_yieldContext: boolean, _generatorParameterContext: boolean) {
|
||||
function parseParameterList(yieldContext: boolean, generatorParameterContext: boolean) {
|
||||
// FormalParameters[Yield,GeneratorParameter] :
|
||||
// ...
|
||||
//
|
||||
@@ -1727,8 +1727,8 @@ module ts {
|
||||
var savedYieldContext = inYieldContext();
|
||||
var savedGeneratorParameterContext = inGeneratorParameterContext();
|
||||
|
||||
setYieldContext(_yieldContext);
|
||||
setGeneratorParameterContext(_generatorParameterContext);
|
||||
setYieldContext(yieldContext);
|
||||
setGeneratorParameterContext(generatorParameterContext);
|
||||
|
||||
var result = parseDelimitedList(ParsingContext.Parameters, parseParameter);
|
||||
parseExpected(SyntaxKind.CloseParenToken);
|
||||
|
||||
Reference in New Issue
Block a user