PyneComp v6.0.82 — scripts that TradingView rejects are now refused with a clear error,…
Fixes
import someone/class/1, aninput.sourcewhose default is another input, and an undeclared type such asarray.new<foo>now stop with a compile error at the right line instead of producing a script that fails when it runs (#110)- A function that returns a tuple from a library call inside an
ifwithoutelseno longer crashes on bars where theifis not taken; both values arena, as on TradingView (#110) - v4 plots without
transpkeep their color’s own transparency, so a line meant to be invisible stays invisible (#111) - v5
boolvariables that can benanow staynawhere TradingView keeps them: typedbooldeclarations with annabranch, andboolfields of user types checked withna()(#111) s == naands != naon a string variable now test fornacorrectly (#111)- Converted v4/v5 scripts keep their meaning in more places:
ta.change()on conditions,int(math.floor(a / b)), andtranspon colors with their own transparency - A
maptype whose key or value is a built-in type such ascolorno longer fails to load - A string literal that continues onto the next line inside parentheses now compiles correctly