Skip to content

Conversation

@cameel
Copy link
Collaborator

@cameel cameel commented Sep 30, 2021

Depends on #12069. In draft mode until that PR is merged. Merged.

A small refactor to bring the structs that represent sets of boolean flags for selecting compiler outputs more in line with what I did with DebugInfoSelection in #11944. Now they use maps of pointer-to-members to avoid enumerating fields by hand - this gets really repetitive and error prone with structs that have 15+ fields.

This is needed for the next PR which actually changes the validation logic.

@cameel cameel self-assigned this Sep 30, 2021
@cameel cameel marked this pull request as draft September 30, 2021 20:18
@cameel cameel force-pushed the refactor-cli-output-flags branch from 22881a3 to bdfbbeb Compare October 1, 2021 11:13
Base automatically changed from remove-combined-json-compact-format-leftovers to develop October 1, 2021 12:40
@cameel cameel force-pushed the refactor-cli-output-flags branch from bdfbbeb to 8a76957 Compare October 1, 2021 12:42
@cameel
Copy link
Collaborator Author

cameel commented Oct 1, 2021

#12069 has been merged so this is now reviewable.

@cameel cameel marked this pull request as ready for review October 1, 2021 12:43
Copy link

@leonardoalt leonardoalt left a comment

Choose a reason for hiding this comment

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

I haven't tried the binary myself, but I'm assuming you did?

@cameel
Copy link
Collaborator Author

cameel commented Oct 4, 2021

Yeah, I did some manual testing in #12074, which is on top of it. I did not test every single flag but we do have test coverage for some of these flags (in command-line tests and some in the new tests for solc) and if they're not broken, I doubt the others are.

@cameel cameel merged commit 9d6eaa7 into develop Oct 4, 2021
@cameel cameel deleted the refactor-cli-output-flags branch October 4, 2021 14:03
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