-
Notifications
You must be signed in to change notification settings - Fork 742
Failing test case w/ replaces and using in namespaces #83
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
Comments
In fact, this also fails, is a little smaller, and does not involve replaces="..." // bindgen-flags: --emit-clang-ast -- -x c++ -std=c++14
namespace JS {
namespace detail {
template <typename T>
using Wrapped = T;
}
template <typename T>
struct Rooted {
detail::Wrapped<T> ptr;
};
} |
And everything works ok if we get rid of the |
So basically |
fitzgen
pushed a commit
to fitzgen/rust-bindgen
that referenced
this issue
Oct 17, 2016
bors-servo
pushed a commit
that referenced
this issue
Oct 18, 2016
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
cc @emilio
Input:
Output:
I'd expect there to be a
pub type Wrapped<T> = T;
in the output.The text was updated successfully, but these errors were encountered: