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
cxxbridge/sources/demo/src/main.rs.cc:25:6: error: ‘Color’ has not been declared 25 | bool Color::is_white() const noexcept { | ^~~~~
I wouldn't be opposed to accepting that code and just making it put the member function in the struct's namespace all the time, regardless of namespace attribute on the member function.
But if someone feels strongly this should be an error (with a better message), that would be reasonable too.
The text was updated successfully, but these errors were encountered:
As observed in #441 (comment):
Currently this results in generating something like the following, which does not compile.
I wouldn't be opposed to accepting that code and just making it put the member function in the struct's namespace all the time, regardless of namespace attribute on the member function.
But if someone feels strongly this should be an error (with a better message), that would be reasonable too.
The text was updated successfully, but these errors were encountered: