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(solc): ensure flatten target is part of graph #2256

Conversation

mattsse
Copy link
Collaborator

@mattsse mattsse commented Mar 13, 2023

Motivation

Closes foundry-rs/foundry#4545
this fixes an edge case where the target of flatten is not used by any project file and not included in the graph.

Solution

include target if missing to ensure it's part of the set

PR Checklist

  • Added Tests
  • Added Documentation
  • Updated the changelog
  • Breaking changes

@mattsse
Copy link
Collaborator Author

mattsse commented Mar 13, 2023

clippy failures are unrelated and false positives

@mattsse mattsse force-pushed the matt/fix-ensure-flatten-target-is-part-of-graph branch from a612cc7 to 704f720 Compare March 13, 2023 17:26
@gakonst gakonst merged commit fcc9a48 into gakonst:master Mar 13, 2023
10 of 12 checks passed
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.

flatten broken
2 participants