design: view instantiation test

This commit is contained in:
Misko Hevery
2014-10-10 20:44:55 -07:00
parent 2d19e7122b
commit a9896ed391
8 changed files with 191 additions and 40 deletions

View File

@ -11,7 +11,6 @@ export class Parser extends TraceurParser {
parseTypeName_() {
// Copy of original implementation
var typeName = super.parseTypeName_();
var next = this.peekType_();
// Generics support
if (this.eatIf_(OPEN_ANGLE)) {
var generics = [];
@ -34,4 +33,4 @@ export class Parser extends TraceurParser {
} while (this.eatIf_(COMMA));
this.eat_(CLOSE_CURLY);
}
}
}