Fixes Issue 9250 - Wrong line number in assignment diagnostic
Merge pull request #1433 from AndrejMitrovic/Fix9250_2

Issue 9250 - Wrong line number in assignment diagnostic