summaryrefslogtreecommitdiff
path: root/TAO/TAO_IDL/ast/ast_operation.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/TAO_IDL/ast/ast_operation.cpp')
-rw-r--r--TAO/TAO_IDL/ast/ast_operation.cpp9
1 files changed, 9 insertions, 0 deletions
diff --git a/TAO/TAO_IDL/ast/ast_operation.cpp b/TAO/TAO_IDL/ast/ast_operation.cpp
index 265704c8cfc..fe2ffed59a7 100644
--- a/TAO/TAO_IDL/ast/ast_operation.cpp
+++ b/TAO/TAO_IDL/ast/ast_operation.cpp
@@ -443,6 +443,15 @@ AST_Operation::fe_add_argument (AST_Argument *t)
I_FALSE,
t->local_name ());
+ UTL_ScopedName *mru = arg_type->last_referenced_as ();
+
+ if (mru != 0)
+ {
+ this->add_to_referenced (arg_type,
+ I_FALSE,
+ mru->first_component ());
+ }
+
return t;
}