Commit 28bf23a9 authored by Philip Makedonski's avatar Philip Makedonski
Browse files

+ inverted condition for considering extends in check no overspecific runs on (#75)

parent ab3720cc
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1091,7 +1091,7 @@ class CodeStyleValidator extends AbstractDeclarativeValidator {

	private def boolean isReferencedComponentSpec(ComponentDef component, EObject parent) {
		val variables = component.componentMembers
        if (!activeProfile.extendsInCheckNoOverSpecificRunsOnClauses) {
        if (activeProfile.extendsInCheckNoOverSpecificRunsOnClauses) {
		     variables.addAll(component.inheritedComponentMembers)    
		}