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
Test: Fix processing of yul object files in equivalence checking
The code was already trying to handle yul files with named object
format, however, the logic was not correct and we ended up trying to
compile empty input, which resulted in error.
There are several fixes:
- `onlyAfter` now returns only lines *after* the matched line.
Previously, the matched line was returned as well.
- The regex used to check if we have `object` line in the file now no
longer contains quotes. Previously, this regex never matched because
of this quotes.
- We now extract the object name in case of an object format. This is
necessary to pass to the `yul` function. Previously, we always passed
empty string. However, in case of named objects, the key in json is
the object name.
0 commit comments