Update fatal errors

This commit is contained in:
Robert Payne 2015-04-12 23:44:32 +12:00
parent 3e57a36e77
commit 529e7588aa
1 changed files with 5 additions and 5 deletions

View File

@ -450,35 +450,35 @@ final internal class ConstraintDescription: ConstraintDescriptionExtendable, Con
private var toItem: ConstraintItem { private var toItem: ConstraintItem {
willSet { willSet {
if self.concreteConstraint != nil { if self.concreteConstraint != nil {
fatalError("Attempting to modify a ConstraintDescription after its constraint has been created.") fatalError("Attempting to modify a ConstraintDescription after its constraint has been created.")
} }
} }
} }
private var relation: ConstraintRelation? { private var relation: ConstraintRelation? {
willSet { willSet {
if self.concreteConstraint != nil { if self.concreteConstraint != nil {
fatalError("Attempting to modify a ConstraintDescription after its constraint has been created.") fatalError("Attempting to modify a ConstraintDescription after its constraint has been created.")
} }
} }
} }
private var constant: Any = Float(0.0) { private var constant: Any = Float(0.0) {
willSet { willSet {
if self.concreteConstraint != nil { if self.concreteConstraint != nil {
fatalError("Attempting to modify a ConstraintDescription after its constraint has been created.") fatalError("Attempting to modify a ConstraintDescription after its constraint has been created.")
} }
} }
} }
private var multiplier: Float = 1.0 { private var multiplier: Float = 1.0 {
willSet { willSet {
if self.concreteConstraint != nil { if self.concreteConstraint != nil {
fatalError("Attempting to modify a ConstraintDescription after its constraint has been created.") fatalError("Attempting to modify a ConstraintDescription after its constraint has been created.")
} }
} }
} }
private var priority: Float = 1000.0 { private var priority: Float = 1000.0 {
willSet { willSet {
if self.concreteConstraint != nil { if self.concreteConstraint != nil {
fatalError("Attempting to modify a ConstraintDescription after its constraint has been created.") fatalError("Attempting to modify a ConstraintDescription after its constraint has been created.")
} }
} }
} }