Open GoogleCodeExporter opened 9 years ago
Not reproducible
Original comment by DanelK...@gmail.com
on 18 Jun 2012 at 9:37
[deleted comment]
Here is a reproduction:
[JsType(JsMode.Clr)]
public enum ClrColors
{
Red,
Green,
Blue
}
[JsType(JsMode.Prototype)]
public enum PrototypeColors
{
Red,
Green,
Blue
}
[JsType(JsMode.Json)]
public enum JsonColors
{
Red,
Green,
Blue
}
[JsType(JsMode.Global)]
public class SharpKitPageScript : jQueryContextBase
{
private static void SharpKitPageScript_Load()
{
JsContext.debugger();
var a = ClrColors.Blue is ClrColors; //true - OK
var b = PrototypeColors.Blue is PrototypeColors; //false - BUG
var c = JsonColors.Blue is JsonColors; //crash- BUG
}
}
Original comment by alon.weiss
on 5 Jul 2012 at 8:45
Original comment by DanelK...@gmail.com
on 5 Jul 2012 at 9:03
Original issue reported on code.google.com by
DanelK...@gmail.com
on 30 May 2012 at 7:15