diff options
author | Simon Hausmann <simon.hausmann@qt.io> | 2017-09-12 17:20:47 +0200 |
---|---|---|
committer | Lars Knoll <lars.knoll@qt.io> | 2017-09-12 19:50:16 +0000 |
commit | fa00f0a0206f87b43cd1ee5448efe20cb6ff8e44 (patch) | |
tree | 12176fd8b51e7393462e3bc049e2cf0dab2e7a09 /src/quick/items | |
parent | 98358715930739ca8de172d88c5ce6941c275ff3 (diff) |
Error out when compiling signal handlers with arguments in qml files
Ahead of time we cannot tell whether the use of "arguments" in a signal
hander refers to the JS arguments object or a potential arguments signal
parameter. Resolving that requires access to information we currently
don't have. The QML engine has it at run-time (in
SignalHandlerConverter) and that's why it works there accordingly.
However when generating caches ahead of time, let's rather produce an
error message with a hint how to work around it instead of producing
differing behavior at run-time.
Task-number: QTBUG-60011
Change-Id: I9e460bd467dbb5998f12a44c439223ea44e7bbad
Reviewed-by: Lars Knoll <lars.knoll@qt.io>
Diffstat (limited to 'src/quick/items')
0 files changed, 0 insertions, 0 deletions