fix #3234, empty function with keyword arguments