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/whileis 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
passfor every block, not just the global one. - Fix the
StmtExpressionskip-path cut length that strippedlen('return ')even with noreturn/resultprefix, corruptingdef main():intodef main(on scripts whose body reduces to nothing. - Map
input.*positional arguments by type-specific Pine v6 parameter order, including trailing positional arguments andactivehandling.