From b63b8ea4a64dbd68f0aee57a88e13e6408962488 Mon Sep 17 00:00:00 2001 From: Kristof Szabados <Kristof.Szabados@ericsson.com> Date: Thu, 23 Aug 2018 16:09:28 +0200 Subject: [PATCH] temporary change: might generate some unecessary code, but could fix an error detected by the regression tests. Signed-off-by: Kristof Szabados <Kristof.Szabados@ericsson.com> --- compiler2/Type.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compiler2/Type.cc b/compiler2/Type.cc index b5bd3e1c4..cb3d27a6f 100644 --- a/compiler2/Type.cc +++ b/compiler2/Type.cc @@ -7414,7 +7414,7 @@ namespace Common { if (t->is_tagged() || t->rawattrib || t->textattrib || t->jsonattrib || (!t->is_asn1() && t->hasEncodeAttr(get_encoding_name(CT_JSON))) || (t->xerattrib && !t->xerattrib->empty() ) || - (t->oerattrib && !t->oerattrib->empty() && t->is_asn1())) + (t->oerattrib /*&& !t->oerattrib->empty()*/ && t->is_asn1())) { return t->get_genname_own(p_scope); } -- GitLab