Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Added auto tests for properties initialized using JS statements
  • Loading branch information
Roberto Raggi committed May 12, 2011
1 parent f31d94f commit ae8f9b5
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
@@ -0,0 +1,5 @@
import QtQuick 1.0

QtObject {
property int test: { var _ = 1; _ }
}
@@ -0,0 +1,6 @@
import QtQuick 1.0

QtObject {
property int test: if (b == 1) 123; else 321;
property int b: 1
}

0 comments on commit ae8f9b5

Please sign in to comment.