Thanks for your reply. In my example, all the enum items also have an 
underlying int value as well as the text field. I am parsing csv files 
containing the text parts of the enums, so I need those text parts. To 'see', 
the $ operator shows the text field and the .ord operator shows the int part.

I have been trying several ideas. When I add another line to my test file, it 
miraculously compiles.

Remove the "BrokerBankLike = set[enum]" line and the "BrokerBankLike = 
set[char]" line and add 
    
    
    const
      brokerBankLike: BrokerBankLike = {valSvcFee, valWirFnd}
    
    
    Run

And it all compiles. 

Reply via email to