fix Issue 11840 - Show all errors of undefined identifier used in a line
Merge pull request #3062 from 9rnsr/fix11840

Issue 11840 - Show all errors of undefined identifier used in a line