Details
-
Bug
-
Resolution: Unresolved
-
P3: Somewhat important
-
None
-
Qt Creator 3.5.1, Qt Creator 3.6.0-rc1
-
Windows 7 64 bit
Description
Open this code in the QML editor:
import QtQuick 2.0 Rectangle { State{ name: "one" } State{ name: "two" } State{ name: "two" } }
AFAIK, this is not valid QML because two of the states have the same name. (If it is, please let me know.) The QML editor should show a warning about this error.