Diagnostics
N003
null needs an explicit type
N003
A bare null has no type of its own. Add a nullable type annotation, or pass it where a nullable type is expected.
Failing example
script "example"
data chart = subscribe(data.ohlcv)
on chart.update { let value = null }Corrected example
script "fixed"
data chart = subscribe(data.ohlcv)
on chart.update { let value: float? = null }