Skip to content
Snippets Groups Projects
Unverified Commit d30b176b authored by Marcin Krzyzanowski's avatar Marcin Krzyzanowski
Browse files

Fix precondition failure in addAttributes(_:range:updateLayout:)

Replace preconditionFailure with assertionFailure and return early when
encountering an invalid range in addAttributes(_:range:updateLayout:). This
avoids crashing in release builds if an invalid range is passed.
parent 556d7085
No related branches found
Tags 2.0.0-beta5
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment