-
Notifications
You must be signed in to change notification settings - Fork 289
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Storage for contracts with the same name #92
Comments
Thanks for raising this issue. I've added a The |
Thx for the quick response but are you sure, it works properly? Cause I just have checked and got an error: |
UPD: Sorry, it works properly for filename, like: |
I think, I get it. There are some problems with path comparison, so
return an error. |
yeah, the relative paths has to be exact. Thinking about it some more, I can pass it through something like |
I've done a change on a branch that will hopefully work for
I don't think the forward slashes will work on Windows. You can test by installing the branch version with
I can include this change in the next release. |
I have tested the same example and it still doesn't work. Interesting is that |
I've added the extra |
Thx, in most situations it works great now, but when I use temporary directory like |
Hmm, I'll need to look into this one. Thanks for reporting. |
Running
sol2uml storage -c *same name*
on folder with files, containing contracts with the same name, will return storage diagram for contract with the smallest filename in sort order.Example:
main.sol
:Lib1.sol
:Lib2.sol
:In this example storage will be generated for
A
fromLib1.sol
. But if you renamemain.sol
inamain.sol
result will be forA
fromamain.sol
.Maybe it can be fixed by choosing both filename and contract name?
The text was updated successfully, but these errors were encountered: