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

Allow generic "BasicType" in alias this declaration #18714

Open
dlangBugzillaToGithub opened this issue Nov 14, 2013 · 0 comments
Open

Allow generic "BasicType" in alias this declaration #18714

dlangBugzillaToGithub opened this issue Nov 14, 2013 · 0 comments

Comments

@dlangBugzillaToGithub
Copy link

monarchdodra reported this on 2013-11-14T12:44:14Z

Transferred from https://issues.dlang.org/show_bug.cgi?id=11517

Description

Just like a standard alias, as opposed to only "Identifier".

Right now:
AliasThisDeclaration:
    alias Identifier this

Request:
AliasThisDeclaration:
    alias Identifier this
    alias BasicType this

See also:
https://d.puremagic.com/issues/show_bug.cgi?id=8735

For example:
struct Foo
{
    int test(string op)() { return 0; }
    alias test!"*" this;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant