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 remote-tracking branch 'upstream/stable' into merge_stable #10753

Merged
merged 27 commits into from Feb 7, 2020

Conversation

MartinNowak
Copy link
Member

Conflicts:
src/dmd/dmodule.d

WalterBright and others added 27 commits December 25, 2019 13:06
fix Issue 20466 - Optimizer clobbering msw register when testing it f…
Implements a cleaner solution for issue 10562 which tries to match the
assigned expression against all dimensions of the target (instead of
bluntly rewriting to keep type safety).

Rewrites the original test to orderly check all possible combinations.
Fix Issue 20465 - Dynamic + static array declaration fail
merged-on-behalf-of: Rainer Schuetze <rainers@users.noreply.github.com>
…ed instead of member-wise

needOpEquals should check the type of the elements of static arrays, too.
fix Issue 20475 - Struct of static array of strings is bitwise-compar…
merged-on-behalf-of: Nicholas Wilson <thewilsonator@users.noreply.github.com>
… of a semantic failure.

This avoids double evaluation of parameter semantic in some situations.
Fixes issue 20488.
…use ENABLE_RELEASE=0 in build

build release with ENABLE_RELEASE=1
fix Issue 20391 - [REG 2.089] DMD compile times increased by 40% beca…
revert dlang#9799 Deprecate scope as a type constraint on class declarations
… syntax

This segfaulted for some constructs, such as `pragma(msg)` and `enum`,
but not others, such as `static assert`, hence why the value isn't checked.
Fix issue 19542:  Forward reference segfault with string namespace C++ syntax
merged-on-behalf-of: Nicholas Wilson <thewilsonator@users.noreply.github.com>
dlang#10724)

Fix Issue 17441 - Template instantiation reused when arguments are mo…
merged-on-behalf-of: Nicholas Wilson <thewilsonator@users.noreply.github.com>
Fix Issue 20518 - simple import ICE regression
merged-on-behalf-of: Nicholas Wilson <thewilsonator@users.noreply.github.com>
Fix Issue 20530 - is(<...> == module/package) does not work with stri…
merged-on-behalf-of: Nicholas Wilson <thewilsonator@users.noreply.github.com>
dlang#10750)

Fix Issue 20549 - Initialization with a tuple of a module symbol refe…
merged-on-behalf-of: Nicholas Wilson <thewilsonator@users.noreply.github.com>
@dlang-bot
Copy link
Contributor

Thanks for your pull request, @MartinNowak!

Bugzilla references

Auto-close Bugzilla Severity Description
17441 normal std.traits.moduleName gives wrong answer for modules imported under a different name in a mixin
19542 normal Forward reference segfault with string namespace C++ syntax
20391 regression [REG 2.089] DMD compile times increased by 40% because ENABLE_RELEASE=0 in build
20465 regression Dynamic + static array declaration fail
20466 critical Optimizer clobbering msw register when testing it for 0
20475 normal Struct of static array of strings is bitwise-compared instead of member-wise
20488 regression AA.length in multiple modules causes opDispatch failure
20518 regression simple import ICE regression
20530 normal is(<...> == module/package) does not work with string mixins
20549 normal Initialization with a tuple of a module symbol referencing itself could crash dmd

Testing this PR locally

If you don't have a local development environment setup, you can use Digger to test this PR:

dub fetch digger
dub run digger -- build "master + dmd#10753"

@dlang-bot dlang-bot merged commit a3dedb2 into dlang:master Feb 7, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet