Skip to content

Possible error in C# HumanEval test cases #13

Description

@anmolagarwal999

It seems that a statement such as:

 var expected1 = null;

is not allowed in C# and throws an error of the form: Cannot assign <null> to an implicitly-typed local variable. It seems that this error is persistent across all versions of Dotnet (ref) . However, this statement seems to be used in several parts of the testing code such as: here and here.

Am I missing something ? Can someone look into this ?
\c @benathi @sk-g @hyandell

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

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions