fix crash for attempted operator overloads on function types