Fixed a null pointer reference.

Sample code which used to cause this Access Violation:
function<int> foo(string foo)
{
}

function<int> cause_av(const string str)
{
var<int> x = foo(str); // Access Violation!
}