[solidity-upgrade] Input file processing is out of sync with solc #11651
Labels
bug 🐛
easy difficulty
good first issue candidate
Could be a "good first issue" but something is blocking it or it has open questions.
Looks like
soldity-upgrade
has input file processing logic duplicated fromCommandLineInterface.cpp
. EspeciallyreadInputFiles()
and file reader callback inSourceUpgrade.cpp
. This logic inCommandLineInterface
has recently been refactored in PRs like #11113, #11518. After #11545/#11617 will actually become functionally different sosolidity-upgrade
will be unable to resolve imports exactly the same waysolc
does so projects that depend on--base-path
being set properly might no longer compile.Logic needs to be unified in both places. Both should use
FileReader
and its callback. Preferably the input processing insidereadInputFiles()
itself should be shared between the two executables. I think thatsolidity-upgrade
also needs--base-path
option.The text was updated successfully, but these errors were encountered: