fix #1058, outlaw type argument lists in declaration references