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 Issue 17130 - ambiguous implicit super call #6513

Merged
merged 1 commit into from
Feb 10, 2017

Conversation

MartinNowak
Copy link
Member

  • need type of this to resolve base class ctor overloads

- need type of this to resolve base class ctor overloads
@dlang-bot
Copy link
Contributor

Fix Bugzilla Description
17130 [Reg 2.074] ambiguous implicit super call when inheriting core.sync.mutex.Mutex

@PetarKirov
Copy link
Member

PetarKirov commented Feb 3, 2017

Thanks for fixing this so fast!

Strangely vibe.d still fails with:

source/vibe/core/core.d(1183,18): Error: function vibe.core.core.CoreTask.state cannot override final function core.thread.Fiber.state

Which is quite strange, because Fiber.state has been marked as final for quite some time:
https://github.com/dlang/druntime/blob/druntime-2.052/src/core/thread.d#L3226

I have no idea how vibe.d managed to override it before my PR in the first place. Sound like another compiler bug.

@MartinNowak
Copy link
Member Author

@PetarKirov
Copy link
Member

PetarKirov commented Feb 4, 2017

@MartinNowak I guess you need to force push your branch to re-trigger the project tester since @s-ludwig worked around that bug in vibe-d/vibe.d@74883bc.

Edit: I see now that force pushing won't work because this omits tags tags like v0.7.31-beta.2 and v0.8.0-beta.2. I guess that was deliberate to leave only "stable" tags, so probably special-casing vibe.d would be the easiest solution for now.

@MartinNowak
Copy link
Member Author

Can we please just merge this, it obviously fixes the super overload issue. The functions should have never been overload/rideable which asks for a separate dmd fix.
https://issues.dlang.org/show_bug.cgi?id=17131

@UplinkCoder
Copy link
Member

@MartinNowak go ahead an merge it yourself.

@MartinNowak
Copy link
Member Author

Auto-merge toggled on

@MartinNowak MartinNowak merged commit 5262d78 into dlang:master Feb 10, 2017
@MartinNowak MartinNowak deleted the fix17130 branch February 13, 2017 23:41
tramker pushed a commit to tramker/dmd that referenced this pull request Feb 8, 2018
fix Issue 17130 - [REG2.074] ambiguous implicit super call

cherry-picked-by: Martin Krejcirik <mk@krej.cz>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants