VSCode linter warning "A non-DataType has been used in a type declaration statement."

image

Why does the VSCode extension highlight such cases as “A non-DataType has been used in a type declaration statement.”, when this is a valid type declaration? I understand that this may be disabled, but what is the purpose of this warning?

1 Like

I think in other cases where there’s an assignment (i.e., stuff like foo::AbstractArray = ...) it’s intendes to indicate that this would try to convert(AbstractArray, ...), which is unlikely to do something helpful?