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 #510 - mixin template and alias #512

Merged
merged 1 commit into from Jul 23, 2018
Merged

fix #510 - mixin template and alias #512

merged 1 commit into from Jul 23, 2018

Conversation

ghost
Copy link

@ghost ghost commented Jul 19, 2018

No description provided.

@ghost ghost changed the title fix issue #510 - mixin template and alias fix #510 - mixin template and alias Jul 20, 2018
@ghost
Copy link
Author

ghost commented Jul 20, 2018

need more work in dsymbol, e.g for qualified symbols:

module runnable;

import std.stdio;


struct Foo
{
    template Deep()
    {
        int a;
    }
}

struct Bar
{
    mixin Foo.Deep d;
}

void main(string[] args)
{
    Bar bar;
    bar.d.
}   

does not work correctly for now (Deep is proposed, should be a instead)

@ghost ghost added the work-in-progress label Jul 20, 2018
@ghost
Copy link
Author

ghost commented Jul 20, 2018

It's when the Type is copied in DSymbol. Only first ident is handled.

@ghost ghost removed the work-in-progress label Jul 21, 2018
@ghost
Copy link
Author

ghost commented Jul 21, 2018

It's good now

@ghost ghost added the auto-merge label Jul 23, 2018
@dlang-bot dlang-bot merged commit 5a73968 into dlang-community:master Jul 23, 2018
@ghost ghost deleted the issue-510 branch July 23, 2018 03:36
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.

2 participants