blob: 3d707b028064a5c3cf7ad8c4b6bedc7942ab4c65 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
// Copyright (C) 2023 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
import QtQml
QtObject {
enum Cats {
Patron = 8,
Mafik = 7,
Kivrik = 2
}
property var inner: QtObject {
enum Cats {
Patron = -8, // Shouldn't be found
Mafik = -7,
Kivrik = -2
}
}
property int main: Enums.Cats.Patron
property int innerVal: Enums.Patron
property int illegal1: Cats.Patron // Shouldn't be found
property int illegal2: Patron // Shouldn't be found
}
|