mirror of
https://github.com/JohnEstropia/CoreStore.git
synced 2026-01-11 20:00:30 +01:00
Incorrect version lock description after Swift 5 migration #264
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @dr-mobiblocks on GitHub (Apr 2, 2019).
0e254867b6/Sources/CoreStore%2BCustomDebugStringConvertible.swift (L1017-L1022)Proposed change:
@JohnEstropia commented on GitHub (Apr 4, 2019):
Just to clarify, is the current implementation producing a different hash from the proposed cleaner implementation?
@JohnEstropia commented on GitHub (Apr 4, 2019):
Just checked with the unit tests, both codes seem to produce the same hash so technically neither is "Incorrect". The new syntax is ideal though so I'll be updating this in the next version.@dr-mobiblocks commented on GitHub (Apr 4, 2019):
Yes, it is producing a different hash 'format'.
XCode 10.2 console ouput after a schema change
Current:
Before migrating to Swift 5 and proposed implementation:
@JohnEstropia commented on GitHub (Apr 5, 2019):
I see, this is during printing. Thanks! I'll also add this in the unit tests as nothing checks it right now.
@JohnEstropia commented on GitHub (Apr 5, 2019):
Fixed in CoreStore 6.3.1