Skip to content

Possible error in C# HumanEval test cases #13

@anmolagarwal999

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions