Details
-
Bug
-
Resolution: Unresolved
-
P2: Important
-
6.5, 6.8, 6.9, 6.10
-
None
Description
import QtQuick Item { enum E { A, B, C, D, E } Component.onCompleted: { console.log(Main.E.D) -> Engine: undefined, Compiler: 3 } }
Removing key entry E from the enum, or renaming the enum fixes the issue.
Attachments
Issue Links
- relates to
-
QTBUG-117300 qmllint does not warn about enum with the same name as their value
-
- Closed
-