[Ironruby-core] Flagged enums

Tomas Matousek Tomas.Matousek at microsoft.com
Wed Mar 25 12:25:03 EDT 2009

Yes, we can do that.


From: ironruby-core-bounces at rubyforge.org [mailto:ironruby-core-bounces at rubyforge.org] On Behalf Of Thibaut Barrère
Sent: Wednesday, March 25, 2009 2:39 AM
To: ironruby-core
Subject: [Ironruby-core] Flagged enums


it seems that the following code isn't supported:

AnchorStyles.Bottom | AnchorStyles.Left

I believe IronPython supports this (see EnumOps.cs).

Is that syntax planned ?

-- Thibaut
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://rubyforge.org/pipermail/ironruby-core/attachments/20090325/969ddca9/attachment.html>

More information about the Ironruby-core mailing list