-
Notifications
You must be signed in to change notification settings - Fork 5.8k
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
Disallow RETURNDATASIZE and RETURNDATACOPY in inline assembly blocks in pure functions #13028
Conversation
test/libsolidity/syntaxTests/viewPureChecker/inline_assembly_instructions_allowed_pure.sol
Outdated
Show resolved
Hide resolved
Two of the CI failures seem to be coming from other PRs. For example
This really weird. The test was added in #12828 and I remember that that PR had a last-minute change to replace the What'e ever weirder, I just checked state of solidity/libsolidity/analysis/TypeChecker.cpp Line 1665 in 932fb3e
So it's as if the binary used to run tests here was not built from the code at the right commit. |
@matheusaaguiar I updated the description to link to the old PR. If your PR is directly related to some other PRs please try to always link to them. It helps a lot if, for whatever reason, you later need to go back and figure out what actually happened. Also when github folds part of the title into the description, just put it back in the title. Or shorten it - whichever you prefer. |
I took a closer look at history and I think that the extra failures are actual errors on The
So, in short, these seem to be actual problems on |
98c282d
to
7b66c80
Compare
597cf63
to
df19d35
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good!
…in pure functions (cherry picked from commit f567eb1) quick fix to pass failing test at ./test/externalTests/ens.sh (line 80) -- Should be removed when 0.9 is released.
df19d35
to
7f4f655
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good.
I'm going to merge this despite the failing ext test since it's unrelated and it might take some time before the fix gets merged into breaking
.
(cherry picked from commit f567eb1)
This PR recreates #12861 on
breaking
, after it was reverted fromdevelop
in #13013.