Details
-
Bug
-
Resolution: Fixed
-
Not Evaluated
-
6.8.0
-
None
Description
qmlls crashes when a file contains a function inside a binding, or any file imported directly or indirectly by the current file contains one.
Typing either of the below bindings will instantly cause a crash:
import QtQuick MouseArea { onClicked: { function test() {} } property var prop: { function test() {} } }
A backtrace from a debug build of qtdeclarative is attached. It is also worth noting that qmllint does not crash.