diff options
Diffstat (limited to 'abstractmetalang.cpp')
-rw-r--r-- | abstractmetalang.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/abstractmetalang.cpp b/abstractmetalang.cpp index 9643d5f85..e3b431dd2 100644 --- a/abstractmetalang.cpp +++ b/abstractmetalang.cpp @@ -725,6 +725,8 @@ CodeSnipList AbstractMetaFunction::injectedCodeSnips(CodeSnip::Position position bool AbstractMetaFunction::hasSignatureModifications() const { foreach (const FunctionModification mod, modifications()) { + if (mod.isRenameModifier()) + return true; foreach (const ArgumentModification argmod, mod.argument_mods) { // since zero represents the return type and we're // interested only in checking the function arguments, |