fix flow
This commit is contained in:
parent
69cba43f82
commit
2b7fab87d0
@ -795,7 +795,8 @@ export default class ExpressionParser extends LValParser {
|
||||
const elem = this.startNode();
|
||||
if (this.state.value === null) {
|
||||
if (!isTagged) {
|
||||
this.raise(this.state.invalidTemplateEscapePosition, "Invalid escape sequence in template");
|
||||
// TODO: fix this
|
||||
this.raise(this.state.invalidTemplateEscapePosition || 0, "Invalid escape sequence in template");
|
||||
} else {
|
||||
this.state.invalidTemplateEscapePosition = null;
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user