omg crazy inference case, now im worried there are more unhandled cases...
get function as function param inference working