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

fix: fix visibility warnings #8

Merged
merged 1 commit into from
Dec 4, 2024
Merged

fix: fix visibility warnings #8

merged 1 commit into from
Dec 4, 2024

Conversation

zac-williamson
Copy link
Collaborator

made SortResult struct + members public so they can be accessed by external libraries

Description

Problem*

External libraries (e.g. noir_json_parse) need to query the members of the SortResult object returned by sort_advanced. This was triggering compiler warnings as these members were private. This PR makes them public

Summary*

struct SortResult is now public, as well as its members.

compiler warnings for nargo 0.37 have been fixed

Additional Context

PR Checklist*

  • I have tested the changes locally.
  • I have formatted the changes with Prettier and/or cargo fmt on default settings.

made `SortResult` struct + members public so they can be accessed by external libraries
Copy link
Contributor

@kashbrti kashbrti left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@TomAFrench TomAFrench changed the title chore!: expose public types = fix compiler warnings fix: fix visibility warnings Dec 4, 2024
@TomAFrench TomAFrench merged commit a776996 into main Dec 4, 2024
6 checks passed
@github-actions github-actions bot mentioned this pull request Dec 4, 2024
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.

3 participants