Partial reference does not raise exception