Fixing an issue with the mirroring
This commit is contained in:
parent
11d32ea7b6
commit
8616a818c1
|
@ -43,15 +43,10 @@ open class CCXMirror: CCXMirroring {
|
||||||
currentContext = currentContext?.superclassMirror
|
currentContext = currentContext?.superclassMirror
|
||||||
}
|
}
|
||||||
// Make sure we aren't adding in the CCXMirror or StORM mirrors:
|
// Make sure we aren't adding in the CCXMirror or StORM mirrors:
|
||||||
switch currentContext?.subjectType {
|
|
||||||
case is CCXMirror.Type?, is StORM.Type?:
|
|
||||||
break
|
|
||||||
default:
|
|
||||||
if currentContext.isNotNil {
|
if currentContext.isNotNil {
|
||||||
mirrors.append(currentContext!)
|
mirrors.append(currentContext!)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
return mirrors
|
return mirrors
|
||||||
}
|
}
|
||||||
/// This returns all the children, even all the superclass mirrored children. Use allChildren().asData() to return an array of key/values.
|
/// This returns all the children, even all the superclass mirrored children. Use allChildren().asData() to return an array of key/values.
|
||||||
|
|
Loading…
Reference in New Issue