November 09, 2013 [Issue 9569] 'alias this' syntax is not accepted by dmd | ||||
---|---|---|---|---|
| ||||
https://d.puremagic.com/issues/show_bug.cgi?id=9569 Denis Shelomovskij <verylonglogin.reg@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |verylonglogin.reg@gmail.com Resolution| |WONTFIX --- Comment #5 from Denis Shelomovskij <verylonglogin.reg@gmail.com> 2013-11-09 13:31:30 MSK --- (In reply to comment #4) > One syntax, one alias beast - it's good. `alias this = ...;` is reserved for aliasing of superclass constructors. See e.g. discussion of https://github.com/D-Programming-Language/dmd/pull/1341 Also documentation is correct now and the error is improved: --- Error: Cannot use syntax 'alias this = i', use 'alias i this' instead --- -- Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
Copyright © 1999-2021 by the D Language Foundation