mirror of https://github.com/SnapKit/SnapKit
Fix debugging compile error
This commit is contained in:
parent
7205e043e8
commit
ded4778181
|
@ -60,9 +60,9 @@ public extension LayoutConstraint {
|
||||||
override public var description: String {
|
override public var description: String {
|
||||||
var description = "<"
|
var description = "<"
|
||||||
|
|
||||||
description += snp_descriptionForObject(self)
|
description += descriptionForObject(self)
|
||||||
|
|
||||||
description += " \(snp_descriptionForObject(self.firstItem))"
|
description += " \(descriptionForObject(self.firstItem))"
|
||||||
if self.firstAttribute != .NotAnAttribute {
|
if self.firstAttribute != .NotAnAttribute {
|
||||||
description += ".\(self.firstAttribute.snp_description)"
|
description += ".\(self.firstAttribute.snp_description)"
|
||||||
}
|
}
|
||||||
|
@ -70,7 +70,7 @@ public extension LayoutConstraint {
|
||||||
description += " \(self.relation.snp_description)"
|
description += " \(self.relation.snp_description)"
|
||||||
|
|
||||||
if let secondItem: AnyObject = self.secondItem {
|
if let secondItem: AnyObject = self.secondItem {
|
||||||
description += " \(snp_descriptionForObject(secondItem))"
|
description += " \(descriptionForObject(secondItem))"
|
||||||
}
|
}
|
||||||
|
|
||||||
if self.secondAttribute != .NotAnAttribute {
|
if self.secondAttribute != .NotAnAttribute {
|
||||||
|
|
Loading…
Reference in New Issue