Worst ideas/features in programming languages?
    Atila Neves 
    atila.neves at gmail.com
       
    Thu Oct 14 16:47:44 UTC 2021
    
    
  
On Monday, 11 October 2021 at 18:27:29 UTC, russhy wrote:
>> [...]
>
> It's been a while i haven't used anything other than D, so i 
> don't have much to say, i'll need to research to remember first
>
> [...]
The enum thing works now:
     ```
         enum MyEnum { A, B, C}
         with(MyEnum) {
             auto e = A;
             myFunction(A);
             switch(e) {
                 case A:
                     break;
                 default:
             }
         }
         ```
    
    
More information about the Digitalmars-d
mailing list