PyneComp v6.0.75 — converted scripts now keep the right values in tuple history reads,…
Fixes
- A script that unpacks a tuple and then reads an element’s history (
[a, b] = f()followed bya[1]) could fail at runtime with “‘float’ object is not subscriptable” when compiled in strict mode or when an element shared its name with a function; it now runs - Two consecutive value-returning
if/switchexpressions (for example a stringswitchfollowed by a bool one) could share one variable, so the second one could start from an empty string instead ofna; each expression now keeps its own value array.from<float>andmatrix.new<float>given int values now store them as floats, as TradingView does (5.0, not5), and amatrix.new<T>without an initial value is filled withnaof the right type