fix(compiler): don't redeclare a var in the same scope (#12386)

This is not allowed by Closure Compiler.
This commit is contained in:
Alex Eagle 2016-10-18 20:28:30 -07:00 committed by Alex Rickabaugh
parent 6e5f8b59b3
commit cca4a5c519
1 changed files with 1 additions and 1 deletions

View File

@ -330,7 +330,7 @@ export class CssParser {
var span: ParseSourceSpan;
var startSelector = selectors[0];
if (isPresent(block)) {
var span = this._generateSourceSpan(startSelector, block);
span = this._generateSourceSpan(startSelector, block);
ruleAst = new CssSelectorRuleAst(span, selectors, block);
} else {
var name = this._extractSourceContent(start, this._getScannerIndex() - 1);