From c51ed771dafdfa44f1e6b9540a4186be8ce3e753 Mon Sep 17 00:00:00 2001 From: Botond Baranyi <botond.baranyi@ericsson.com> Date: Tue, 7 Mar 2017 17:43:00 +0100 Subject: [PATCH] Fixed the name generated for fuzzy altstep parameters in Runtime2 Change-Id: I76d35f91b09e590a313f63ee09bea8b79e8574e4 Signed-off-by: Botond Baranyi <botond.baranyi@ericsson.com> --- compiler2/ttcn3/AST_ttcn3.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compiler2/ttcn3/AST_ttcn3.cc b/compiler2/ttcn3/AST_ttcn3.cc index 3c7132564..493bc0cdb 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; -- GitLab