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

Follow 1215 #46

Closed
Hackerpilot opened this issue Mar 24, 2015 · 3 comments
Closed

Follow 1215 #46

Hackerpilot opened this issue Mar 24, 2015 · 3 comments
Assignees
Labels

Comments

@Hackerpilot
Copy link
Collaborator

https://issues.dlang.org/show_bug.cgi?id=1215
dlang/dmd#4516

@Hackerpilot Hackerpilot self-assigned this Mar 24, 2015
@mathias-lang-sociomantic
Copy link
Contributor

This was fixed (there was a follow up P.R.: dlang/dmd#4918 ).

@Hackerpilot
Copy link
Collaborator Author

@ghost
Copy link

ghost commented Feb 22, 2018

This works since a while:

template Foo(T...)
{
    alias MyType = T[0].TheType;
}

template P(T)
{
    alias TheType = T;
}

void main()
{
    Foo!(P!int).MyType i = 0;
}

And dparse parses the "indexer" since a few week

@ghost ghost closed this as completed Feb 22, 2018
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants