Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
gsvgit opened this issue Feb 9, 2023 · 0 comments

Comments

@gsvgit
Copy link
Contributor

gsvgit commented Feb 9, 2023

  • 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?)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant