digitalmars.D.learn - problems with mixins and non-ascii characters
- Uplink_Coder (11/11) Jan 22 2014 Hi,
- bearophile (4/5) Jan 22 2014 For me this is a feature, not a bug.
- Benjamin Thaut (3/8) Jan 22 2014 Why that? D is supposed to support unicode identifiers, and in this case...
- Uplink_Coder (3/8) Jan 22 2014 I never said bug :D
- monarch_dodra (2/13) Jan 22 2014 It's a bug. "ä" is a valid identifier.
- Uplink_Coder (7/7) Jan 22 2014 .... Strange this bug seems to manifest itself only in some
Hi, When I try to define an Enum with an umlaut like ä enum test2 { l, ä } I get Error: basic type expected, not "\u00e4" and Error: type only allowed if anonymous enum and no enum type is there any workaround for this ?
Jan 22 2014
Uplink_Coder:is there any workaround for this ?For me this is a feature, not a bug. Bye, bearophile
Jan 22 2014
Am 22.01.2014 11:46, schrieb bearophile:Uplink_Coder:Why that? D is supposed to support unicode identifiers, and in this case it cleary does not?is there any workaround for this ?For me this is a feature, not a bug. Bye, bearophile
Jan 22 2014
On Wednesday, 22 January 2014 at 10:46:30 UTC, bearophile wrote:Uplink_Coder:I never said bug :D just I thoght UniCode should make this a non-issue ...is there any workaround for this ?For me this is a feature, not a bug. Bye, bearophile
Jan 22 2014
On Wednesday, 22 January 2014 at 10:51:54 UTC, Uplink_Coder wrote:On Wednesday, 22 January 2014 at 10:46:30 UTC, bearophile wrote:It's a bug. "ä" is a valid identifier.Uplink_Coder:I never said bug :D just I thoght UniCode should make this a non-issue ...is there any workaround for this ?For me this is a feature, not a bug. Bye, bearophile
Jan 22 2014
.... Strange this bug seems to manifest itself only in some situations enum ä {ä = "ä"} does not work in dpaste but suddenly it works on my local enviorment (Windows-Mono-d,dmd 2.064.2) it seems to have something todo with the abscence of a BOM header ...
Jan 22 2014