We've found a bug for you! /.../fixtures/function_call_mismatch.res:7:3-10 5 │ 6 │ let cloneInTemp = (temp: string): string => { 7 │ cd(temp) 8 │ exec("git clone git@github.com:myorg/myrepo.git") 9 │ } This function call returns: string But it's expected to return: unit - Did you mean to assign this to a variable? - If you don't care about the result of this expression, you can assign it to _ via let _ = ... or pipe it to ignore via expression->ignore