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

Merge v2.107.1 #4587

Merged
merged 13 commits into from Mar 2, 2024
Merged

Merge v2.107.1 #4587

merged 13 commits into from Mar 2, 2024

Conversation

kinke
Copy link
Member

@kinke kinke commented Feb 29, 2024

No description provided.

tim-dlang and others added 13 commits February 19, 2024 06:35
The issue is caused by compiling druntime/phobos and the application
with different flags. The template instance for __switch_errorT is not
included in the build of druntime/phobos, because they are compiled
with -release. DMD will also not include it in an application compiled
without -release, because it assumes, that it is already in druntime.
See comment https://issues.dlang.org/show_bug.cgi?id=20802#c3 by Spoov.

The template instance for __switch_errorT is now always instantiated in
druntime, so it is part of the ABI of druntime.
Having this at the `Expression` level is useful to libdparse and will
also help fix this regression
https://issues.dlang.org/show_bug.cgi?id=24371 whose underlying issue is
that the lowering doesn't take parentheses into account.

This reverts the follwoing commits
- a5f8b9e
- 1b32513
- bd04531
…t operator precedence

Rethink lowering logic to account for parentheses and operator
associativity.

Signed-off-by: Teodor Dutu <teodor.dutu@gmail.com>
….107.1

Conflicts:
	runtime/druntime/test/exceptions/Makefile
	tests/dmd/runnable/debug_info.d
@kinke kinke marked this pull request as ready for review March 2, 2024 01:51
@kinke kinke enabled auto-merge March 2, 2024 01:52
@kinke kinke merged commit 42153ca into ldc-developers:master Mar 2, 2024
22 checks passed
@kinke kinke deleted the merge_2.107.1 branch March 2, 2024 03:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants