Fixing an issue with the mirroring

This commit is contained in:
Ryan Coyne 2017-11-23 12:56:11 -05:00
parent 11d32ea7b6
commit 8616a818c1
1 changed files with 2 additions and 7 deletions

View File

@ -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