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

Fix #13093 C++ Atomics: operator= is implicitly deleted because the default definition would be ill-formed #21169

Merged
merged 5 commits into from
Jan 27, 2023

Conversation

bung87
Copy link
Collaborator

@bung87 bung87 commented Dec 24, 2022

close #17982 change return type var String to String works fine,
fix #13093

@bung87 bung87 force-pushed the fix17982_2 branch 2 times, most recently from 914f851 to 7a5d9f3 Compare December 28, 2022 03:48
@bung87 bung87 marked this pull request as ready for review December 28, 2022 04:29
@bung87 bung87 changed the title Fix17982 Invalid C++ code generation when returning discardable var T Fix #13093 C++ Atomics: operator= is implicitly deleted because the default definition would be ill-formed Dec 28, 2022
@Varriount Varriount requested a review from Araq January 4, 2023 19:59
@Varriount Varriount added the Requires Araq To Merge PR should only be merged by Araq label Jan 4, 2023
@Araq Araq merged commit a7bae91 into nim-lang:devel Jan 27, 2023
@github-actions
Copy link
Contributor

Thanks for your hard work on this PR!
The lines below are statistics of the Nim compiler built from a7bae91

Hint: mm: orc; opt: speed; options: -d:release
166360 lines; 8.138s; 611.672MiB peakmem

@ringabout
Copy link
Member

ringabout added a commit that referenced this pull request Jan 27, 2023
…se the default definition would be ill-formed (#21169)"

This reverts commit a7bae91.
Araq pushed a commit that referenced this pull request Jan 27, 2023
…se the default definition would be ill-formed " (#21307)

Revert "Fix #13093 C++ Atomics: operator= is implicitly deleted because the default definition would be ill-formed  (#21169)"

This reverts commit a7bae91.
survivorm pushed a commit to survivorm/Nim that referenced this pull request Feb 28, 2023
…se the default definition would be ill-formed (nim-lang#21169)

* add test

* fix nim-lang#17982 Invalid C++ code generation when returning discardable var T

* fix nim-lang#13093

* cpp atomic good example

* clearify the condition
survivorm pushed a commit to survivorm/Nim that referenced this pull request Feb 28, 2023
…ed because the default definition would be ill-formed " (nim-lang#21307)

Revert "Fix nim-lang#13093 C++ Atomics: operator= is implicitly deleted because the default definition would be ill-formed  (nim-lang#21169)"

This reverts commit a7bae91.
capocasa pushed a commit to capocasa/Nim that referenced this pull request Mar 31, 2023
…se the default definition would be ill-formed (nim-lang#21169)

* add test

* fix nim-lang#17982 Invalid C++ code generation when returning discardable var T

* fix nim-lang#13093

* cpp atomic good example

* clearify the condition
capocasa pushed a commit to capocasa/Nim that referenced this pull request Mar 31, 2023
…ed because the default definition would be ill-formed " (nim-lang#21307)

Revert "Fix nim-lang#13093 C++ Atomics: operator= is implicitly deleted because the default definition would be ill-formed  (nim-lang#21169)"

This reverts commit a7bae91.
bung87 added a commit to bung87/Nim that referenced this pull request Jul 29, 2023
…se the default definition would be ill-formed (nim-lang#21169)

* add test

* fix nim-lang#17982 Invalid C++ code generation when returning discardable var T

* fix nim-lang#13093

* cpp atomic good example

* clearify the condition
bung87 pushed a commit to bung87/Nim that referenced this pull request Jul 29, 2023
…ed because the default definition would be ill-formed " (nim-lang#21307)

Revert "Fix nim-lang#13093 C++ Atomics: operator= is implicitly deleted because the default definition would be ill-formed  (nim-lang#21169)"

This reverts commit a7bae91.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Requires Araq To Merge PR should only be merged by Araq
Projects
None yet
4 participants