diff --git a/modules/angular2/src/core/change_detection/parser/lexer.ts b/modules/angular2/src/core/change_detection/parser/lexer.ts index 86bc29f6fd340..56216b0190fe1 100644 --- a/modules/angular2/src/core/change_detection/parser/lexer.ts +++ b/modules/angular2/src/core/change_detection/parser/lexer.ts @@ -75,9 +75,10 @@ export class Token { toString(): string { switch (this.type) { case TokenType.Character: - case TokenType.String: case TokenType.Identifier: case TokenType.Keyword: + case TokenType.Operator: + case TokenType.String: return this.strValue; case TokenType.Number: return this.numValue.toString();