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 value
This 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.
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 value`
This 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.
adam
added the fixed label 2025-12-29 18:23:44 +01:00
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
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.