Details
-
Bug
-
Resolution: Done
-
P2: Important
-
5.12.0
-
94d30df911dccd830a18d7c2e75397505ef9a600 (qt/qtdeclarative/5.12)
Description
Anything can be happily passed to a function which takes a value type from javascript code. Instead it should probably throw or print an error/warning. To reproduce run attached example.
Attachments
For Gerrit Dashboard: QTBUG-73405 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
253381,3 | Check parameter types when invoking C++ functions from QML | 5.12 | qt/qtdeclarative | Status: MERGED | +2 | 0 |