gh-118090: Improve error message for empty type param brackets (GH-118091)

4 files changed