check followed expected type for `t_dynamic` for array declarations so we do not miss `Null<Dynamic>`