bug #737.  Display a more apt error message when wrong argument's supplied to
reference keyword.