You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In test/mock/mocked_components.cpp and include/nil/blueprint/components/mock/mocked_components.hpp we are generating classes/functions with defines.
That makes debugging impossible, even compilation errors are hard to find. The compiler does not tell me which line has an error, because the whole generated function is on a single line :)
Consider using simple std::function-s, pass them to some template classes, but do not generate any code with defines.
We should restrict usage of defines to minimum.
The text was updated successfully, but these errors were encountered:
In test/mock/mocked_components.cpp and include/nil/blueprint/components/mock/mocked_components.hpp we are generating classes/functions with defines.
That makes debugging impossible, even compilation errors are hard to find. The compiler does not tell me which line has an error, because the whole generated function is on a single line :)
Consider using simple std::function-s, pass them to some template classes, but do not generate any code with defines.
We should restrict usage of defines to minimum.
The text was updated successfully, but these errors were encountered: