MMTMMT Docs
Diagnostics

T110

`array<T>(n)` constructor spelling is removed

T110

The removed array&lt;T>(n) constructor spelling is not accepted. Use T[](n).

Failing example

script "conf"

data chart = subscribe(data.ohlcv)

on chart.update {
  let xs = array<float>(4)
}

Corrected example

script "fixed"
state values: int[] = int[](2)

On this page