diff --git a/compiler2/ttcn3/AST_ttcn3.cc b/compiler2/ttcn3/AST_ttcn3.cc index 3c7132564dcc7e6e402073e513f7d612a80eae57..493bc0cdbba9054dfa86d6e8b080b499461a2d14 100644 --- a/compiler2/ttcn3/AST_ttcn3.cc +++ b/compiler2/ttcn3/AST_ttcn3.cc @@ -8107,7 +8107,7 @@ namespace Ttcn { defval.ap->set_code_section(GovernedSimple::CS_POST_INIT); } - if (use_runtime_2 && my_parlist->get_my_def() != NULL && + if (use_runtime_2 && eval == NORMAL_EVAL && my_parlist->get_my_def() != NULL && my_parlist->get_my_def()->get_asstype() == Definition::A_ALTSTEP) { // altstep 'in' parameters are always shadowed in RT2, because if a default // altstep deactivates itself, then its parameters are deleted;