fix Int+UInt=UInt generation (close #2082)