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

cleaner fix for Issue 18480 - dmd hangs with self-alias declaration #7954

Merged
merged 2 commits into from Feb 27, 2018

Conversation

MartinNowak
Copy link
Member

  • fixed by detecting alias sym = sym; during semantic
  • small adoption of assertion in mostVisibleOverload to deal with
    alias error expression (type = Type.terror) in overload

see #7930 for previous workaround

@dlang-bot
Copy link
Contributor

Thanks for your pull request, @MartinNowak!

Bugzilla references

Auto-close Bugzilla Severity Description
18480 regression [Reg 2.079] dmd hangs with self-alias declaration

@MartinNowak
Copy link
Member Author

FYI @timotheecour and @RazvanN7, also see #7930 (comment).

- fixed by detecting `alias sym = sym;` during semantic
- small adoption of assertion in mostVisibleOverload to deal with
  alias error expression (type = Type.terror) in overload
@JinShil
Copy link
Contributor

JinShil commented Feb 25, 2018

Thanks, @MartinNowak

@MartinNowak MartinNowak merged commit 2ab13f5 into dlang:stable Feb 27, 2018
@MartinNowak MartinNowak deleted the fix18480 branch February 27, 2018 15:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
4 participants