Using 'ref' with variables in interface

Agreed. But my problem is, if I declare a signal as logic abcd in an interface
and try to use that as argument to task like

task task_fileio(intf.abcd)

I get the error message “Invalid ref argument usage as the actual argument is not a variable”

So, this does not look to like a datatype mismatch problem.