diff options
author | Topi Reinio <topi.reinio@qt.io> | 2020-05-13 16:37:29 +0200 |
---|---|---|
committer | Topi Reinio <topi.reinio@qt.io> | 2020-05-14 09:49:47 +0200 |
commit | 5364f88463bca65cd7ba1a1f48f6c444586957eb (patch) | |
tree | baf98dd18a626ffa21d64f23632e0ab6fee6c607 /tests/auto/qdoc/generatedoutput/testdata | |
parent | b15b6b115073b98d65254d16671a77f45e55293c (diff) |
qdoc: QML parser: Fix parsing of function parameters
The parameter name was passed incorrectly as the default value, and
the default value was not retrieved.
Pick-to: 5.15
Fixes: QTBUG-84089
Change-Id: I9f35702b431da3e58a8cb422f0b41475dd99f604
Reviewed-by: Paul Wicking <paul.wicking@qt.io>
Diffstat (limited to 'tests/auto/qdoc/generatedoutput/testdata')
-rw-r--r-- | tests/auto/qdoc/generatedoutput/testdata/qml/DocTest.qml | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/auto/qdoc/generatedoutput/testdata/qml/DocTest.qml b/tests/auto/qdoc/generatedoutput/testdata/qml/DocTest.qml index 2e581335e..f9eeb49d1 100644 --- a/tests/auto/qdoc/generatedoutput/testdata/qml/DocTest.qml +++ b/tests/auto/qdoc/generatedoutput/testdata/qml/DocTest.qml @@ -92,4 +92,14 @@ Item { if (msg === undefined) msg = ""; } + + /*! + \brief Fails the current test case, hard. + \list + \li Prints out \a msg. + \li Accepts a random \a option. + \endlist + */ + function fail_hard(msg = "facepalm", option = 123) { + } } |