Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allow static alias to composite type
Task-number: QTBUG-20200 Change-Id: I2a118dfc9ce1956e038f70049c905ec38396fe5e Reviewed-on: http://codereview.qt.nokia.com/2062 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Aaron Kennedy <aaron.kennedy@nokia.com>
- Loading branch information
Aaron Kennedy
authored and
Qt by Nokia
committed
Jul 25, 2011
1 parent
647ea95
commit 5249c88
Showing
5 changed files
with
36 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 6 additions & 0 deletions
6
tests/auto/declarative/qdeclarativeecmascript/data/AliasToCompositeElementType1.qml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
import QtQuick 1.0 | ||
|
||
QtObject { | ||
property alias group: obj | ||
property variant foo: AliasToCompositeElementType2 { id: obj } | ||
} |
5 changes: 5 additions & 0 deletions
5
tests/auto/declarative/qdeclarativeecmascript/data/AliasToCompositeElementType2.qml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
import QtQuick 1.0 | ||
|
||
QtObject { | ||
property int value | ||
} |
6 changes: 6 additions & 0 deletions
6
tests/auto/declarative/qdeclarativeecmascript/data/aliasToCompositeElement.qml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
import QtQuick 1.0 | ||
|
||
AliasToCompositeElementType1 { | ||
group.value: 13 | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters