mirror of
https://codeberg.org/uzu/strudel
synced 2026-07-21 20:55:12 -04:00
mondo: strings now get type "string" to be discernable from plain variables
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user