diff options
author | Marcelo Lira <marcelo.lira@openbossa.org> | 2010-02-26 20:21:11 -0300 |
---|---|---|
committer | Marcelo Lira <marcelo.lira@openbossa.org> | 2010-02-26 20:24:28 -0300 |
commit | 3f6b0576c90960d4474623987ccac2877a34869c (patch) | |
tree | 956d6a4848dbec230714cbdf8aad3b0e68524fde /tests/CMakeLists.txt | |
parent | eaec9c4a8ace3a91fccb12492d445fc939cb8bf5 (diff) |
Added method AbstractMetaBuilder::fixReturnTypeOfConversionOperator(func).
The new method fixes the return type of conversion operators:
they should return the target of the conversion as type and not
the type of its owner class.
fixReturnTypeOfConversionOperator is used in traverseFunctions.
An unit test was added for this case.
Note that this behaviour could be fixed in the parser. I dare you!
Diffstat (limited to 'tests/CMakeLists.txt')
-rw-r--r-- | tests/CMakeLists.txt | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt index 961f80d3f..71efb9e90 100644 --- a/tests/CMakeLists.txt +++ b/tests/CMakeLists.txt @@ -11,6 +11,7 @@ declare_test(testabstractmetaclass) declare_test(testabstractmetatype) declare_test(testaddfunction) declare_test(testcodeinjection) +declare_test(testconversionoperator) declare_test(testconversionruletag) declare_test(testdtorinformation) declare_test(testenum) |