Learning a solo using Tab vs By Ear

What are your thoughts on this? If someone uses tab to learn a solo but actually memorizes the entire thing, is this still detrimental to their development as a jazz guitarist?