Details
-
Suggestion
-
Resolution: Unresolved
-
P2: Important
-
None
Description
The code below produces a runtime error ("Cannot override FINAL property"). It would be nice to have an error/warning from qmlsc/qmllint too.
import QtQuick Window { width: 800 height: 600 visible: true Rectangle { width: 100 height: 100 color: "green" // Oops, we tried to shadow a FINAL property from QQuickRectangle: // Q_PROPERTY(qreal topLeftRadius READ topLeftRadius WRITE setTopLeftRadius NOTIFY topLeftRadiusChanged RESET resetTopLeftRadius REVISION(6, 7) FINAL) property real topLeftRadius: 50 } }