Skip to content

V# generates incorrect test: an attempt to use Object instead of specific type #233

@gsvgit

Description

@gsvgit
  • Test to reproduce
  • Steps to reproduce
    • Remove this attribute
    • Run the test
    • Compile generated tests
    • Get a number of erros KnapsackBagTests.cs(23, 21): [CS1061] 'object' does not contain a definition for 'Calculate' and no accessible extension method 'Calculate' accepting a first argument of type 'object' could be found (are you missing a using directive or an assembly reference?)

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