[Ironruby-core] Flagged enums
Jimmy.Schementi at microsoft.com
Wed Mar 25 13:06:29 EDT 2009
IronRuby should support this. Enum values are ints anyway, so that behavior shouldn't be hard to implement.
From: ironruby-core-bounces at rubyforge.org [ironruby-core-bounces at rubyforge.org] on behalf of Thibaut Barrère [thibaut.barrere at gmail.com]
Sent: Wednesday, March 25, 2009 2:39 AM
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 ?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Ironruby-core