fixes named/default ensugaring for the case when by-name parameters are involved