Skip to content

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

Description

@GoogleCodeExporter
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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions