vfmt: make ${} more robust; require it for every interpolation that uses '...' or "..."

This commit is contained in:
Delyan Angelov 2021-04-15 09:13:43 +03:00
parent 4ecc5001b9
commit f1549b3ee7
No known key found for this signature in database
GPG key ID: 66886C0F12D595ED
4 changed files with 11 additions and 4 deletions

View file

@ -190,7 +190,7 @@ fn (mut context Context) kill_pgroup() {
}
fn (mut context Context) compilation_runner_loop() {
cmd := '"$context.vexe" ${context.opts.join(' ')}'
cmd := '"${context.vexe}" ${context.opts.join(' ')}'
_ := <-context.rerun_channel
for {
context.elog('>> loop: v_cycles: $context.v_cycles')