Skip to content

Generate type ids lazily #60

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

Closed
bholley opened this issue Sep 21, 2016 · 2 comments
Closed

Generate type ids lazily #60

bholley opened this issue Sep 21, 2016 · 2 comments

Comments

@bholley
Copy link

bholley commented Sep 21, 2016

This will prevent small changes from creating large diffs in the bindings. Emilio says it will also improve the tests.

@bholley
Copy link
Author

bholley commented Sep 21, 2016

CC @emilio

@emilio
Copy link
Contributor

emilio commented Sep 22, 2016

For the record, this proposal is something like generating on top of the current ItemId another id, like generated_item_id, that would depend only on the amount of items that have been generated, and thus would be more deterministic than the current approach, that depends on the number of items parsed.

This would allow to include system headers in tests.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants