fixed issue #894: error thrown when `foo(var(x=1) x);` is met.