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

incorrect namespace of global variable type #587

Open
ladisgin opened this issue Feb 20, 2023 · 0 comments
Open

incorrect namespace of global variable type #587

ladisgin opened this issue Feb 20, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@ladisgin
Copy link
Member

ladisgin commented Feb 20, 2023

To Reproduce
Steps to reproduce the behavior:

  1. Open the JQ project in IDE
  2. Use plugin to generate tests
  3. Run the generated test

Expected behavior
Tests are supposed to compiled.

Actual behavior
compilation error

Visual proofs (screenshots, logs)

/home/utbot/jq/tests/makefiles/src/../../../tests/src/builtin_dot_c_test.cpp:9:1: error: unknown type name 'OnigEncodingTypeST'; did you mean 'UTBot::OnigEncodingTypeST'?
OnigEncodingTypeST OnigEncodingUTF8;
^~~~~~~~~~~~~~~~~~
UTBot::OnigEncodingTypeST
/home/utbot/jq/tests/makefiles/src/../../../tests/src/builtin_dot_c_test.h:531:8: note: 'UTBot::OnigEncodingTypeST' declared here
struct OnigEncodingTypeST {
       ^
/home/utbot/jq/tests/makefiles/src/../../../tests/src/builtin_dot_c_test.cpp:10:1: error: unknown type name 'OnigSyntaxType'; did you mean 'UTBot::OnigSyntaxType'?
OnigSyntaxType OnigSyntaxPerl_NG;
^~~~~~~~~~~~~~
UTBot::OnigSyntaxType

Additional context
Use types from UTBot Namespace

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: Todo
Development

No branches or pull requests

2 participants