Bug 11517 – Allow generic "BasicType" in alias this declaration

Status
NEW
Severity
enhancement
Priority
P4
Component
dmd
Product
D
Version
D2
Platform
All
OS
All
Creation time
2013-11-14T12:44:14Z
Last change time
2024-12-13T18:14:03Z
Keywords
spec
Assigned to
No Owner
Creator
monarchdodra
See also
https://issues.dlang.org/show_bug.cgi?id=15892, https://issues.dlang.org/show_bug.cgi?id=8735
Moved to GitHub: dmd#18714 →

Comments

Comment #0 by monarchdodra — 2013-11-14T12:44:14Z
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 by robert.schadek — 2024-12-13T18:14:03Z
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