Skip to content
New issue

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

[SR-12464] [C++] Initialize static variables #54904

Closed
swift-ci opened this issue Mar 31, 2020 · 1 comment
Closed

[SR-12464] [C++] Initialize static variables #54904

swift-ci opened this issue Mar 31, 2020 · 1 comment
Labels
c++ interop Feature: Interoperability with C++ compiler The Swift compiler in itself feature A feature request or implementation

Comments

@swift-ci
Copy link
Collaborator

Previous ID SR-12464
Radar None
Original Reporter MForster (JIRA User)
Type New Feature
Status Closed
Resolution Done
Additional Detail from JIRA
Votes 0
Component/s Compiler
Labels New Feature, CxxInterop
Assignee hlopko (JIRA)
Priority Medium

md5: 08d311229a0eb38a2efc4917f8ff7bcb

Issue Description:

Make sure that variables with static lifetime are initialized correctly (i.e. have their constructor called if they have one).

@swift-ci
Copy link
Collaborator Author

swift-ci commented May 4, 2020

Comment by Marcel Hlopko (JIRA)

Fixed by #31362

@swift-ci swift-ci transferred this issue from apple/swift-issues Apr 25, 2022
@zoecarver zoecarver added c++ interop Feature: Interoperability with C++ and removed CxxInterop labels Apr 25, 2022
@AnthonyLatsis AnthonyLatsis added feature A feature request or implementation and removed new feature labels Jan 27, 2023
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
c++ interop Feature: Interoperability with C++ compiler The Swift compiler in itself feature A feature request or implementation
Projects
None yet
Development

No branches or pull requests

3 participants