Issue #973: Add expected .src and remove _fail
Fix #973 by using the type from the argument, not the type of the parameter (which might be an out-of-scope type parameter)