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

Make sure container sizes are runtime integers. #919

Merged
merged 1 commit into from
May 12, 2021

Conversation

bbannier
Copy link
Contributor

For the HILTI runtime containers we previously directly forwarded the
size functions of the underlying stdlib containers. This could have
lead to them returning a type not expected by our runtime, e.g., on
macos these might return unsigned long values which our runtime e.g.,
doesn't know how to print.

This patch changes these functions so that now they return types which
we expect our runtimes to be able to work with.

For the HILTI runtime containers we previously directly forwarded the
`size` functions of the underlying stdlib containers. This could have
lead to them returning a type not expected by our runtime, e.g., on
macos these might return `unsigned long` values which our runtime e.g.,
doesn't know how to print.

This patch changes these functions so that now they return types which
we expect our runtimes to be able to work with.
@bbannier bbannier self-assigned this May 12, 2021
@bbannier bbannier marked this pull request as ready for review May 12, 2021 12:27
@bbannier bbannier requested a review from rsmmr May 12, 2021 12:27
@bbannier bbannier merged commit 162f4bf into main May 12, 2021
@bbannier bbannier deleted the topic/bbannier/container_size branch May 12, 2021 16:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants