rascal
rascal copied to clipboard
small false positive with template-for and continue
trafficstars
Describe the bug
previous = "non empty";
writeFile(pcfg.bin + capitalize(pcfg.currentRoot.file) + relativize(pcfg.currentRoot, m)[extension="md"].path,
"<for (out(x) <- output) { if (trim(previous) == "", trim(x) == "") { continue; } previous = x;><x>
'<}>"
);
The type-checker reports on the continue that there is no for loop in scope, but there is.