added good error for stuff like string[int] or int[int]
deleted assert that would never fire because it turned into an error message
Merge pull request #870 from barcharcraz/templaterr

Added better error messages for ill-formed generics