PyneComp v6.0.46 — codegen correctness for statement-position blocks and Pine-v6 input.*…

Fixes

  • Drop a block’s trailing bare expression when the if/for/while is used as a statement (value neither assigned nor returned) — kept only when it wraps a function/method call whose evaluation may have side effects.
  • Emit an empty-body pass for every block, not just the global one.
  • Fix the StmtExpression skip-path cut length that stripped len('return ') even with no return/result prefix, corrupting def main(): into def main( on scripts whose body reduces to nothing.
  • Map input.* positional arguments by type-specific Pine v6 parameter order, including trailing positional arguments and active handling.

This website uses cookies and similar technologies. By continuing to use the site, you accept this. Details in our Privacy Policy.