report actual type when assert fails