D issues are now tracked on GitHub. This Bugzilla instance remains as a read-only archive.
Issue 11517 - Allow generic "BasicType" in alias this declaration
Summary: Allow generic "BasicType" in alias this declaration
Status: NEW
Alias: None
Product: D
Classification: Unclassified
Component: dmd (show other issues)
Version: D2
Hardware: All All
: P4 enhancement
Assignee: No Owner
URL:
Keywords: spec
Depends on:
Blocks:
 
Reported: 2013-11-14 12:44 UTC by monarchdodra
Modified: 2024-12-13 18:14 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description monarchdodra 2013-11-14 12:44:14 UTC
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;
}
Comment 1 dlangBugzillaToGithub 2024-12-13 18:14:03 UTC
THIS ISSUE HAS BEEN MOVED TO GITHUB

https://github.com/dlang/dmd/issues/18714

DO NOT COMMENT HERE ANYMORE, NOBODY WILL SEE IT, THIS ISSUE HAS BEEN MOVED TO GITHUB