[Qt-qml] Semantics of 'return' in a JavaScript block in QML

Gregory Schlomoff gregory.schlomoff at gmail.com
Fri Sep 17 16:39:01 CEST 2010


>
> > Besides, IIRC, qml has a non-standard syntax for switch blocks, requiring
> each
> > case to be enclosed within curly braces for the break statement to work.
> Why
> > this happens (if it still happens - haven't tested now) would be
> interesting
> > to know.
>
> I would also be interested in knowing :)  Has this been discussed before,
> and is there a bug for it?
>
>
Sorry, I have checked, and everything is ok with switch. It must have been
either an error on my side, or an unnoticed bug that got fixed by himself.

Most probably the former :)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt.nokia.com/pipermail/qt-qml/attachments/20100917/a9e04fd3/attachment.html 


More information about the Qt-qml mailing list