Commit d5f29a7c authored by Miklos Magyari's avatar Miklos Magyari
Browse files

OOP: fixed bug for class member override checks


Signed-off-by: Miklos Magyari's avatarMiklos Magyari <miklos.magyari@sigmatechnology.se>
parent 98b65f66
......@@ -262,6 +262,9 @@ public final class ClassTypeBody extends TTCN3Scope implements IReferenceChainEl
for (final ClassTypeBody body : bodies) {
final Map<String, Definition> subDefinitionMap = body.getDefinitionMap();
for (final Definition definition : subDefinitionMap.values()) {
if (definition.isLocal()) {
continue;
}
final String name = definition.getIdentifier().getName();
if (definitions.hasDefinition(name)) {
final Definition localDefinition = definitions.getDefinition(name);
......
......@@ -385,7 +385,7 @@ public final class Class_Type extends Type implements ITypeWithComponents {
finallyBlock.check(timestamp);
}
lastTimeChecked = timestamp;;
lastTimeChecked = timestamp;
}
@Override
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment