Scramasax / sharpkit

Automatically exported from code.google.com/p/sharpkit
0 stars 0 forks source link

Wrong js code when using bitwise operations on enums #295

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
    [JsType(JsMode.Prototype, Filename="test.js")]
    public class Class1
    {
        public void Work()
        {
            Test X = Test.One | Test.Two;
        }
    }

    public enum Test
    {
        One = 1,
        Two = 2
    }

Original issue reported on code.google.com by DanelK...@gmail.com on 20 Jun 2013 at 11:55