Skip to content
This repository has been archived by the owner on Oct 12, 2022. It is now read-only.

Fix issue 20559: AA.clear segfault when used with alias this #2927

Merged
merged 1 commit into from
Feb 4, 2020

Conversation

Geod24
Copy link
Member

@Geod24 Geod24 commented Feb 3, 2020

This will break if someone instantiate clear with an explicit first argument, but that's the danger of IFTI.

@Geod24 Geod24 added the Bug Fix Include reference to corresponding bugzilla issue label Feb 3, 2020
@dlang-bot
Copy link
Contributor

Thanks for your pull request, @Geod24!

Bugzilla references

Auto-close Bugzilla Severity Description
20559 major Reference type + alias this + AA + AA.clear causes SEGV

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 + druntime#2927"

@dlang-bot dlang-bot merged commit 3915d8e into dlang:stable Feb 4, 2020
@Geod24 Geod24 deleted the what-the-heck-seriously branch February 4, 2020 00:52
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Bug Fix Include reference to corresponding bugzilla issue
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants