mondo: strings now get type "string" to be discernable from plain variables

This commit is contained in:
Felix Roos
2025-05-02 08:53:55 +02:00
parent 60dd8bd763
commit ffe831d24b
+1 -1
View File
@@ -440,7 +440,7 @@ export class MondoRunner {
ast.value = Number(ast.value);
} else if (['quotes_double', 'quotes_single'].includes(ast.type)) {
ast.value = ast.value.slice(1, -1);
ast.type = 'plain'; // is this problematic?
ast.type = 'string';
}
return this.evaluator(ast, scope);
}