jso0 / runsharp

Automatically exported from code.google.com/p/runsharp
MIT License
2 stars 0 forks source link

Operator - CmpEnumSpecific - exception when comparing object with null #28

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Problem - exception in "g.If (g.Local(...)==null)" when type of local variable 
is user type like "class TestClass{}".

You can add check to method "CmpEnumSpecific" in Operator.cs like this:
if (((object)args[0]==null)||((object)args[1]==null)) return stdNone;

Original issue reported on code.google.com by vlad.v...@gmail.com on 4 Dec 2012 at 3:50

GoogleCodeExporter commented 9 years ago
It's already fixed

Original comment by vlad....@gmail.com on 19 Jan 2013 at 6:33