[Feature Request][move-compiler-v2] warn about compilation input files that seem to be redundant #13322
Labels
compiler-v2
enhancement
New feature or request
stale-exempt
Prevents issues from being automatically marked and closed as stale
馃殌 Feature Request
As discussed in #13216, we think there are certain cases where different or multiple versions of the same file may be found by move-package searches for Move compilation dependencies. It's not clear that this is feasible, but we should add a mechanism to check for redundant packages and/or very similar files (perhaps just identical file names, or last-level directory + filename) and warn about them during compilation, especially if an error occurs.
This could be accompanied by suggestions to run
aptos move clean
ormove clean
in dependency directories, or deleting build/ directories.The text was updated successfully, but these errors were encountered: