fix(compiler): add missing support to string literals
Fixes #531 Closes #559
This commit is contained in:
@ -79,6 +79,10 @@ export class Parser {
|
||||
return new ASTWithSource(new Interpolation(strings, expressions), input, location);
|
||||
}
|
||||
|
||||
wrapLiteralPrimitive(input:string, location:any):ASTWithSource {
|
||||
return new ASTWithSource(new LiteralPrimitive(input), input, location);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
class _ParseAST {
|
||||
|
Reference in New Issue
Block a user