fix #1056
bugfix: don't treat generic types with different static params as the same type