rascal icon indicating copy to clipboard operation
rascal copied to clipboard

small false positive with template-for and continue

Open jurgenvinju opened this issue 3 years ago • 0 comments
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.

jurgenvinju avatar Sep 24 '22 13:09 jurgenvinju