Skip to content

Conversation

@kinke
Copy link
Contributor

@kinke kinke commented Jul 26, 2019

Reverts #9505, an incomplete bugfix (see the discussion in that PR), for a sane 2.087 state, primarily for LDC and GDC. Fixing this properly will likely require breaking changes (#10124) and so land post-2.087. Pinging @RazvanN7 and @ibuclaw.

@dlang-bot
Copy link
Contributor

Thanks for your pull request and interest in making D better, @kinke! We are looking forward to reviewing it, and you should be hearing from a maintainer soon.
Please verify that your PR follows this checklist:

  • My PR is fully covered with tests (you can see the coverage diff by visiting the details link of the codecov check)
  • My PR is as minimal as possible (smaller, focused PRs are easier to review than big ones)
  • I have provided a detailed rationale explaining my changes
  • New or modified functions have Ddoc comments (with Params: and Returns:)

Please see CONTRIBUTING.md for more information.


If you have addressed all reviews or aren't sure how to proceed, don't hesitate to ping us with a simple comment.

Bugzilla references

Auto-close Bugzilla Severity Description
19754 normal cast() sometimes yields lvalue, sometimes yields rvalue

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 "stable + dmd#10220"

@ibuclaw
Copy link
Member

ibuclaw commented Jul 26, 2019

What about #10115?

@ibuclaw
Copy link
Member

ibuclaw commented Jul 26, 2019

Actually, nevermind. It's an independent bug-fix,

@kinke
Copy link
Contributor Author

kinke commented Jul 26, 2019

#10115 is still in there, and not totally independent, but I'll try to revert those select diagnostics for some special cases in a later version of #10124, as they shouldn't be required anymore (but the additional test cases will stay).

…ields rvalue"

This reverts commit 91e7151.

Conflicts:
	src/dmd/expressionsem.d
	src/dmd/typesem.d
	test/fail_compilation/fail17491.d
@RazvanN7 RazvanN7 merged commit 307684d into dlang:stable Jul 29, 2019
@kinke kinke deleted the revert9505 branch July 29, 2019 10:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants