mirror of
https://github.com/JohnEstropia/CoreStore.git
synced 2026-01-11 20:00:30 +01:00
Compile error in Release Build (Swift 4.0) #149
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 @athei on GitHub (Jun 11, 2017).
When compiling CoreStore Swift 4.0 branch as release build I get the following error:
CoreStore/Sources/DataStack.swift:44:80: Static let 'applicationName' is internal and cannot be referenced from a default argument valueThis makes sense as with Swift 4.0 you cannot use variables of a more restricted visibility as default arguments. You need to wrap it with a public accessor. I don't know why this does not come up in a debug build.
@JohnEstropia commented on GitHub (Jun 12, 2017):
I missed that. Thanks for raising this
@JohnEstropia commented on GitHub (Jun 12, 2017):
Fixed on the
prototype/Swift_4_0branch.