diff options
| author | Giuseppe D'Angelo <giuseppe.dangelo@kdab.com> | 2023-09-13 15:26:36 +0200 |
|---|---|---|
| committer | Qt Cherry-pick Bot <cherrypick_bot@qt-project.org> | 2023-09-14 04:25:32 +0000 |
| commit | c944d6ef59ae5d72625fa51a1b95af1000cbb10a (patch) | |
| tree | 2f7a2a256a0ce9d9b7d48b917cce1a169f8191d1 | |
| parent | 0fa32a7dea2a5cf0bdf562818ab2fec7e1bcc35d (diff) | |
Fix typos in FunctionSignatureBehavior documentation
The parameters of the pragma have a trailing `d` that was missing
from their names.
Change-Id: I9810e1a7141ac7edd20d233d2049f84d6749be79
Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
(cherry picked from commit ed1e27316c00034d00a88acad01b32ade9988f13)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
(cherry picked from commit 9280be3c85ad9a9d523cb558f5743df1a6a96167)
| -rw-r--r-- | src/qml/doc/src/qmllanguageref/documents/definetypes.qdoc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/qml/doc/src/qmllanguageref/documents/definetypes.qdoc b/src/qml/doc/src/qmllanguageref/documents/definetypes.qdoc index 4f545ab1ff..139f7377d4 100644 --- a/src/qml/doc/src/qmllanguageref/documents/definetypes.qdoc +++ b/src/qml/doc/src/qmllanguageref/documents/definetypes.qdoc @@ -321,11 +321,11 @@ With this pragma you can change the way type annotations on functions are handled. By default the interpreter and JIT ignore type annotations, but the \l{QML script compiler} enforces them when compiling to C++. -Specifying \c{Enforce} as value makes sure the type annotations are always +Specifying \c{Enforced} as value makes sure the type annotations are always enforced. The resulting type coercions increase the overhead of calling typed JavaScript functions. -Specifying \c{Ignore} as value makes the \l{QML script compiler} ignore +Specifying \c{Ignored} as value makes the \l{QML script compiler} ignore any JavaScript functions when compiling the document to C++. This means less code is compiled to C++ ahead of time, and more code has to be interpreted or JIT-compiled. |
