fix(compiler): don't redeclare a var in the same scope (#12386)
This is not allowed by Closure Compiler.
This commit is contained in:
parent
6e5f8b59b3
commit
cca4a5c519
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue