You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There might be case that the root file has no pragma for specifying Solidity version while its imports have. It might not make sense to not putting any pragma in this case. What can be done is to use semver library to parse all imports' Solidity requirement, then find the expression that is the minimum among all specifications. i.e. find the intersection between all specifications.
The text was updated successfully, but these errors were encountered:
Sorry for late response. I didn't have internet for a while.
I can see that they might be not resolvable, because some of the libraries can have dependencies with strict pragma version, for example, this 2 pragmas might not be compatible:
There might be case that the root file has no
pragma
for specifying Solidity version while its imports have. It might not make sense to not putting anypragma
in this case. What can be done is to usesemver
library to parse all imports' Solidity requirement, then find the expression that is the minimum among all specifications. i.e. find the intersection between all specifications.The text was updated successfully, but these errors were encountered: