Skip to content

Commit 82c17bd

Browse files
committed
ST6RI-891 Revised the resolution of protected members in KerMLScope.
In initial scope, protected members are resolved only if isInsideScope.
1 parent 5ea5d0f commit 82c17bd

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

org.omg.kerml.xtext/src/org/omg/kerml/xtext/scoping/KerMLScope.xtend

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -214,7 +214,7 @@ class KerMLScope extends AbstractScope implements ISysMLScope {
214214
ns.gen(QualifiedName.create(), newHashSet, null, true, true)
215215
} else {
216216
val includeAll = referenceType === SysMLPackage.eINSTANCE.membership && element instanceof Import && (element as Import).isImportAll
217-
ns.resolve(QualifiedName.create(), newHashSet, newHashSet, newHashSet, false, isInsideScope, true, true, includeAll)
217+
ns.resolve(QualifiedName.create(), newHashSet, newHashSet, newHashSet, false, isInsideScope, isInsideScope, true, includeAll)
218218
}
219219
if (targetqn !== null && skip !== null) {
220220
scopeProvider.removeVisited(skip)

0 commit comments

Comments
 (0)