flix icon indicating copy to clipboard operation
flix copied to clipboard

Extend `upgrade` command with lib cleaning

Open jaschdoc opened this issue 1 month ago • 2 comments

I don't see the difficulty, at least for a naive solution. When I change TOML, I go from one dependency graph to another. Add the new stuff and remove the difference.

Originally posted by @mlutze in https://github.com/flix/flix/issues/10227#issuecomment-2796179582

jaschdoc avatar Nov 11 '25 17:11 jaschdoc

What if you change it while the compiler is not running? I.e. between two separate invocations?

magnus-madsen avatar Nov 11 '25 17:11 magnus-madsen

What if you change it while the compiler is not running? I.e. between two separate invocations?

Remove the libraries that are not in the dependency graph (after dependency resolution)

jaschdoc avatar Nov 11 '25 17:11 jaschdoc