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 #20888 - Compiler spits out implicit conversion technobabble when a return statement doesn't match the return type of a function #20890

Merged
merged 1 commit into from
Feb 18, 2025

Conversation

0xEAB
Copy link
Member

@0xEAB 0xEAB commented Feb 18, 2025

  • Testsuite has not been updated yet.
  • Feel free to suggest even better error messages.

@dlang-bot
Copy link
Contributor

Thanks for your pull request, @0xEAB!

Bugzilla references

Your PR doesn't reference any Bugzilla issue.

If your PR contains non-trivial changes, please reference a Bugzilla issue or create a manual changelog.

⚠️⚠️⚠️ Warnings ⚠️⚠️⚠️

  • In preparation for migrating from Bugzilla to GitHub Issues, the issue reference syntax has changed. Please add the word "Bugzilla" to issue references. For example, Fix Bugzilla Issue 12345 or Fix Bugzilla 12345.(Reminder: the edit needs to be done in the Git commit message, not the GitHub pull request.)

Testing this PR locally

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

dub run digger -- build "master + dmd#20890"

… when a return statement doesn't match the return type of a function
@0xEAB 0xEAB marked this pull request as ready for review February 18, 2025 05:06
@thewilsonator thewilsonator merged commit f68ca2c into dlang:master Feb 18, 2025
42 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants