added missing error for type parameters on non-Vector types

Until now, types like Array.<String> and Boolean.<Object> would not result in an error
2 files changed