MMTMMT Docs
Diagnostics

T104

nullable collection type

T104

Collection containers themselves cannot be nullable. Make the collection concrete and represent absence in another field or nullable element where supported.

Failing example

script "example"
state values: int[]? = null

Corrected example

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

On this page