attaswift / BTree

Fast sorted collections for Swift using in-memory B-trees

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Unit test failures

michelf opened this issue · comments

Tests BTreeNodeTests.testMakeChildUnique and BTreeNodeTests.testEditWithWeakReferences are failing when I try to run them. (Xcode 9.2 (9C40b))

Is this normal?

Swift 4.0 had a runtime change that broke isKnownUniquelyReferenced semantics for objects with weak references. This is fixed in Swift 4.1, restoring the original behavior until a better solution is developed.

Building with Xcode 9.3 resolves the test failures. (See #32)