Skip to content
Snippets Groups Projects
Commit 48a38343 authored by earplov's avatar earplov
Browse files

Bug 503394 - Ttcn3Parser: handle erroneous local parametrized template...

Bug 503394 - Ttcn3Parser: handle erroneous local parametrized template variable - review fix, remove unnecessary check

Signed-off-by: default avatarearplov <arpad.lovassy@ericsson.com>
parent 23e76a8a
No related branches found
No related tags found
No related merge requests found
......@@ -218,9 +218,8 @@ public final class Def_Var_Template extends Definition {
if ( mFormalParList != null ) {
mFormalParList.reset();
mFormalParList.check(timestamp, getAssignmentType());
if ( isLocal() ) {
location.reportSemanticError(MessageFormat.format(PARAMETRIZED_LOCAL_TEMPLATE_VAR, getFullName()));
}
// template variable is always local
location.reportSemanticError(MessageFormat.format(PARAMETRIZED_LOCAL_TEMPLATE_VAR, getFullName()));
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment