fix #838, overload resolution with spread op
allow static reference to static method