Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Builds on and supersedes #39 #41

Merged
merged 8 commits into from
Apr 23, 2017
Merged

Builds on and supersedes #39 #41

merged 8 commits into from
Apr 23, 2017

Conversation

mauro3
Copy link
Owner

@mauro3 mauro3 commented Apr 23, 2017

Builds on and supersedes #39.

vtjnash and others added 7 commits April 12, 2017 08:27
This usage cannot be inferred, as it calls the trait function at an undefined point in time. It is incorrect and invalid to treat `generated` as a pure annotation. Instead, assume that the user will provide inferrably-pure functions as traits.
@mauro3
Copy link
Owner Author

mauro3 commented Apr 23, 2017

I cannot reproduce the test errors locally, nor does it show up on AppVeyor. The test error is that the trait functions on travis produce longer llvm-ir than their non-traits counterparts (20 lines vs 8 lines).

I'll try to track down the cause, but for now I'm out of time. If anyone finds the time to look at this on their local machine and sees the same test-failure, please let me know.

@vtjnash
Copy link
Contributor

vtjnash commented Apr 23, 2017

The test isn't valid to run with code-coverage enabled (we can't both elide the code entirely, and record that it was run).

@mauro3
Copy link
Owner Author

mauro3 commented Apr 23, 2017

Thanks @vtjnash: that's it! It would probably have taken me hours...

@mauro3 mauro3 force-pushed the m3/generated-fix branch from 29383b6 to 1d5f7a6 Compare April 23, 2017 21:25
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants