[FIX] qweb: add support for spread operator

closes #575
This commit is contained in:
Géry Debongnie
2019-12-13 14:50:49 +01:00
committed by aab-odoo
parent 455e45c148
commit ef6fd457f8
5 changed files with 41 additions and 5 deletions
+1 -1
View File
@@ -81,7 +81,7 @@ const STATIC_TOKEN_MAP: { [key: string]: TKind } = {
// note that the space after typeof is relevant. It makes sure that the formatted
// expression has a space after typeof
const OPERATORS = ".,===,==,+,!==,!=,!,||,&&,>=,>,<=,<,?,-,*,/,%,typeof ,=>,=,;".split(",");
const OPERATORS = "...,.,===,==,+,!==,!=,!,||,&&,>=,>,<=,<,?,-,*,/,%,typeof ,=>,=,;".split(",");
type Tokenizer = (expr: string) => Token | false;