https://bugs.kde.org/show_bug.cgi?id=378827

--- Comment #9 from Francis Herne <m...@flherne.uk> ---
In this case, it's related to the use of Windows line endings in the file.

When the file is parsed in the background (but not while opened in the editor),
we fail to normalise them properly and the `lines` QStringList is given a
single line containing the whole document. fixAlias() doesn't check that AST
node positions exist in the document before trying to access them, and this
fails when the line doesn't exist.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to