aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/compiler/qv4bytecodegenerator.cpp
diff options
context:
space:
mode:
authorErik Verbruggen <erik.verbruggen@qt.io>2017-09-12 12:20:16 +0200
committerErik Verbruggen <erik.verbruggen@qt.io>2017-09-13 11:13:56 +0000
commit126d9d7cc35d1cca525091a49412ee6683310128 (patch)
tree0c5af981d88861d6ecab16318b6962c72fa256ef /src/qml/compiler/qv4bytecodegenerator.cpp
parent382de8687d572b3327d3e6ee0b1b7a37cbf6b5e5 (diff)
Fix argument order for bound signal expressions
Function::updateInternalClass added the arguments in reverse order to the call context object. However, the index of the member is used as the index into CallData::args, so the result would be a reverse order when lookup was done. Now the order is as expected: first argument first. To handle duplicates, another pass is done before adding those arguments so that names are uniques out. Change-Id: Icfb6af2769b7669ff5589ef29f16c23c314758e8 Reviewed-by: Lars Knoll <lars.knoll@qt.io>
Diffstat (limited to 'src/qml/compiler/qv4bytecodegenerator.cpp')
0 files changed, 0 insertions, 0 deletions