[Qt-qml] patch for type resolving

2010-04-15 Thread Matthias Ettrich
Fellow qml hackers, I wasn't too happy with type shadowing and resolving in current qml. Background: the implicit . import has been moved to be the last import checked. This was done in order to support our previous coding convention with case insensitive file systems. Example: Foo/foo.qml

Re: [Qt-qml] patch for type resolving

2010-04-15 Thread warwick.allison
The concept itself is fine - as you say, QML doesn't really *need* an order for resolving, it just needs to be well-defined. A potential problem with this detect shadowing and give error is the cost of implementing the exhaustive search - I believe the code in the #if 1 is the added expense,