FlatLang / Flat

(Deprecated) Soon-to-be legacy Flat compiler all in one
6 stars 0 forks source link

Nested string interpolation results in compilation error #425

Closed BSteffaniak closed 1 year ago

BSteffaniak commented 2 years ago
let useCurrentFolder = boolQuestion("#{cyan("Initialize package in current folder: #{directory.normalizedLocation}? (Y/n)")} (default: #{underscore(defaultName)}): ")

this works as a workaround:

let msg = cyan("Initialize package in current folder: #{directory.normalizedLocation}? (Y/n)")
let useCurrentFolder = boolQuestion("#{msg} (default: #{underscore(defaultName)}): ")