We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Attachment: Download
library.swift
public internal(set) var _crash: Bool = false { didSet { print("hello") } } @inlinable public func setCrash(_ value: Bool) { _crash = value }
main.swift
import library setCrash(true)
md5: c8796690e633362acbe331795152bdaf
duplicates:
Issue Description:
I couldn't reproduce segfault in runtime in this example, but it does crash the compiler.
edit: here is runtime crash: https://github.com/tonyfreeman/inlinable-segfault
The text was updated successfully, but these errors were encountered:
Oops. That's a bug; you can't use internal(set) from an inlinable function safely.
internal(set)
Sorry, something went wrong.
No branches or pull requests
Attachment: Download
Environment
library.swift
main.swift
Additional Detail from JIRA
md5: c8796690e633362acbe331795152bdaf
duplicates:
Issue Description:
I couldn't reproduce segfault in runtime in this example, but it does crash the compiler.
edit: here is runtime crash: https://github.com/tonyfreeman/inlinable-segfault
The text was updated successfully, but these errors were encountered: