From ed2b322c81a9413f3dec21ac7b7a349de7e28566 Mon Sep 17 00:00:00 2001
From: Botond Baranyi <botond.baranyi@ericsson.com>
Date: Thu, 23 Nov 2017 13:49:24 +0100
Subject: [PATCH] Changed error message text for invalid 'all from' target
 (artf569898)

Change-Id: I8d81acdc2d9dc54a70e59381902f91fc669e650b
Signed-off-by: Botond Baranyi <botond.baranyi@ericsson.com>
---
 compiler2/ttcn3/TtcnTemplate.cc | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/compiler2/ttcn3/TtcnTemplate.cc b/compiler2/ttcn3/TtcnTemplate.cc
index c8149ac07..05226c4d5 100644
--- a/compiler2/ttcn3/TtcnTemplate.cc
+++ b/compiler2/ttcn3/TtcnTemplate.cc
@@ -2692,8 +2692,8 @@ end:
               tpl->error("Matching mechanism can not be used as target of 'all from'");
               break;
             default:
-              tpl->error("A template of type '%s' can not be used as target of 'all from'",
-                type->get_typename().c_str());
+              tpl->error("'%s' can not be used as target of 'all from'",
+                tpl->get_templatetype_str());
               break;
             }
           }
-- 
GitLab