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

Properly handle where clause in derive props macro #640

Merged
merged 2 commits into from
Sep 23, 2019
Merged

Properly handle where clause in derive props macro #640

merged 2 commits into from
Sep 23, 2019

Conversation

astraw
Copy link
Contributor

@astraw astraw commented Sep 15, 2019

This fixes #638.

So far, I was not able to the test suite to run, so I wasn't able to write a test for this.

@jstarry
Copy link
Member

jstarry commented Sep 22, 2019

Awesome, thanks @astraw! For future reference you can run those tests with cargo test --test derive_props_test which is what we use for CI tests: https://github.com/yewstack/yew/blob/master/ci/run_tests.sh

@jstarry
Copy link
Member

jstarry commented Sep 22, 2019

bors r+

bors bot added a commit that referenced this pull request Sep 22, 2019
640: fix #638 r=jstarry a=astraw

This fixes #638.

So far, I was not able to the test suite to run, so I wasn't able to write a test for this.

Co-authored-by: Andrew Straw <strawman@astraw.com>
Co-authored-by: Justin Starry <jstarry@users.noreply.github.com>
@jstarry jstarry self-requested a review September 22, 2019 19:42
@jstarry jstarry changed the title fix #638 Properly handle where clause in derive props macro Sep 22, 2019
@jstarry
Copy link
Member

jstarry commented Sep 22, 2019

bors r+

bors bot added a commit that referenced this pull request Sep 22, 2019
640: Properly handle where clause in derive props macro r=jstarry a=astraw

This fixes #638.

So far, I was not able to the test suite to run, so I wasn't able to write a test for this.

Co-authored-by: Andrew Straw <strawman@astraw.com>
Co-authored-by: Justin Starry <jstarry@users.noreply.github.com>
@bors
Copy link
Contributor

bors bot commented Sep 23, 2019

Build succeeded

  • continuous-integration/travis-ci/push

@bors bors bot merged commit f8d0723 into yewstack:master Sep 23, 2019
@jstarry jstarry added this to Done in Yew [0.9] Release Sep 26, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
Development

Successfully merging this pull request may close these issues.

#[derive(Properties)] fails for some trait bounds
2 participants