Remove default setting of noResolve flag

Fix #629. With this changes, there will no longer be an error report for self reference. However, the problem of self-reference is addressed in #748 pull request