Skip to content
This repository has been archived by the owner on Oct 19, 2024. It is now read-only.

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
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

flatten broken
2 participants