-
Notifications
You must be signed in to change notification settings - Fork 745
JSWhyMagic problems in Stylo #425
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
Oh, interesting, I'll look into it. As far as I know we shouldn't be using nothing |
I fixed this drive-by in #436 |
Ha! I was creducing this exact issue over night. |
And here is the reduced test case: namespace JS {
class Value;
}
typedef enum JSWhyMagic {} JSWhyMagic;
namespace JS {
class Value {
public:
void a(JSWhyMagic);
};
} |
Heh, it's the exact same test-case that we have already in tree for
#410, interesting.
…On Tue, Jan 24, 2017 at 11:38:24AM -0800, Nick Fitzgerald wrote:
And here is the reduced test case:
```c++
namespace JS {
class Value;
}
typedef enum JSWhyMagic {} JSWhyMagic;
namespace JS {
class Value {
public:
void a(JSWhyMagic);
};
}
```
--
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub:
#425 (comment)
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I tried to build Stylo on my Ubuntu 16.10 box. I get the following error:
@heycam looked at my generated structs_debug.rs file. He suspects the following problem: "If stylo tries to bindgen types that reference
JSWhyMagic
, it can fail by generating theJSWhyMagic
under theroot
mod, but trying to referenceroot::JS::JSWhyMagic
."CC @emilio
The text was updated successfully, but these errors were encountered: