Fixing an issue with the mirroring
This commit is contained in:
parent
11d32ea7b6
commit
8616a818c1
|
@ -43,13 +43,8 @@ open class CCXMirror: CCXMirroring {
|
|||
currentContext = currentContext?.superclassMirror
|
||||
}
|
||||
// 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 {
|
||||
mirrors.append(currentContext!)
|
||||
}
|
||||
if currentContext.isNotNil {
|
||||
mirrors.append(currentContext!)
|
||||
}
|
||||
}
|
||||
return mirrors
|
||||
|
|
Loading…
Reference in New Issue