-
-
Notifications
You must be signed in to change notification settings - Fork 130
extra linebreaks are inserted randomly in verified code #15
Comments
Hmm yeah that's odd indeed. I'm thinking this might have something to do with sol-merger, which is the dependency that truffle-plugin-verify uses to flatten contract code. Any thoughts, @RyuuGan? |
@rkalis, @prestwich They are not randomly. Before there were comments, but since |
Ah that explains it. Is the deletion of comments intentional? If so, what's the rationale behind it? |
why delete the text but leave the linebreak? |
@rkalis Deletion of comments was intentional, because I didn't want to write parser for comments. @prestwich I use library that deletes comments, and it behaves likes like this. It removes only comments but blank lines with the spaces are left. |
Okay, I will see if I can address this in the underlying library |
@RyuuGan added functionality to preserve comments in flattened code, which I enabled in |
Verified code is here
Many extra line breaks are inserted throughout the verified code. Particularly between logical blocks
The text was updated successfully, but these errors were encountered: