Diagnostics
T307
duplicate field in type declaration
T307
A type declaration repeats a field name. Rename or delete the duplicate field.
Failing example
script "conf"
data chart = subscribe(data.ohlcv)
type Palette {
bull: color
bull: color
bear: color
}
plot out = plot.line(title: "out")
on chart.update {
out.plot(0.0)
}Corrected example
script "fixed"
type Price { open: float
close: float }