added failure condition check in reference resolution
Merge branch 'master' of https://github.com/Sam-son/P21e3-Merge-Split-Tools
Merge branch 'master' of https://github.com/Sam-son/P21e3-Merge-Split-Tools