Variable Naming Issue (Conflicts?)

Casey via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Tue Apr 22 12:56:38 PDT 2014


On Tuesday, 22 April 2014 at 19:38:09 UTC, bearophile wrote:
> Casey:
>
>> My question is, is there a way I can prevent this conflict 
>> from occurring without affecting what the struct will look 
>> like?
>
> The usual strategy is to append an underscore. (I think C# uses 
> a @ prefix).
>
> Bye,
> bearophile

I've done that, but then it changes the name which, from what 
I've read in the documentation, means the JSON -> object 
conversion won't work since it won't see a variable named delete.


More information about the Digitalmars-d-learn mailing list