I suspect you're talking about the Nikkor 20mm f/1.8G, which is known to be pretty bad in this regard. Much worse than the Pentax. 1 stop sounds less impressive than "much larger apertures"
But even the mirrorless S version shows fringing.
But even the mirrorless S version shows fringing.