Only infer argument names if the called unit is a fragment.
This has to be done because closure parameters are currently not known to the compiler.