updated doAssign to check rhs expression rvs
Merge pull request #10 from wyc/fake-declare-fix

updated doAssign to check rhs expression rvs