PyneComp v6.0.74 — Converted scripts keep a cleaner layout, and compiled scripts handle…

Fixes

  • Multi-line statements no longer get a stray blank line in the compiled script.
  • A for loop variable or a block-local variable with the same name as an outer variable no longer overwrites the outer one.
  • Libraries whose exported functions use script-level const values now compile into a library that imports and runs correctly.
  • Exported library functions that read non-constant globals are now rejected at compile time, so they no longer compile into a broken library.
  • Creating drawings (label.new, line.new, box.new, table.new, …) inside a request.security / request.security_lower_tf expression, or in helpers it calls, now gives a clear compile error.
  • v4 fill() with dynamic colors no longer loses its explicit transparency when converted.
  • v4 scripts with wrapped one-line functions that differ only in later arguments are no longer wrongly merged into one.
  • v5 conversion: removing the final transp argument of a multi-line call no longer leaves a trailing comma behind.
  • v5 conversion: plot() lines with a trailing comment now convert linewidth correctly.
  • v5 conversion: blank lines inside wrapped expressions using [] history and between switch cases like +1 => / -1 => no longer break the converted script.