compiler: set varargs correctly for type of method expression