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

Remove extern(Pascal), deprecated in v2.084.0 #11989

Merged
merged 1 commit into from
Nov 24, 2020

Conversation

Geod24
Copy link
Member

@Geod24 Geod24 commented Nov 24, 2020

It's been 10 releases, time to go! I could make it an explicit error but I don't think that makes much sense.
Will raise dlang.org PR.

@dlang-bot
Copy link
Contributor

Thanks for your pull request, @Geod24!

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.

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#11989"

@Geod24
Copy link
Member Author

Geod24 commented Nov 24, 2020

dlang.org was already cleaned up when I did the deprecation, there's only the code in druntime left: dlang/druntime#3285

@Geod24
Copy link
Member Author

Geod24 commented Nov 24, 2020

I changed one of the unit tests. Previously it was simply adapted to use user-provided deprecation, however it's a parser test, not a semantic test, so deprecations won't get triggered. Any deprecation in the parser is likely to be temporary, so it would just be pushing the problem to the next contributor for dubious reasons, hence why I just removed it.

@Geod24 Geod24 force-pushed the remove-extern-pascal branch from 31e5a5f to b271673 Compare November 24, 2020 11:51
@dlang-bot dlang-bot merged commit c267f1e into dlang:master Nov 24, 2020
@Geod24 Geod24 deleted the remove-extern-pascal branch November 25, 2020 00:53
pascal = 5u,
objc = 6u,
system = 7u,
objc = 5u,
Copy link
Member

@ibuclaw ibuclaw Nov 25, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@Geod24 Oops, just realised that you broke downstream gdc and ldc.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Isn't it expected tho ?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Isn't it expected tho ?

You didn't update global.h

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ergh, an oversight, will fix.

Geod24 added a commit to Geod24/dmd that referenced this pull request Nov 25, 2020
Geod24 added a commit to Geod24/dmd that referenced this pull request Nov 30, 2020
dlang-bot pushed a commit that referenced this pull request Nov 30, 2020
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