-
Notifications
You must be signed in to change notification settings - Fork 5.9k
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
LineColumn handling for CharStream. #12352
Conversation
e5dee6d
to
a7d89a9
Compare
test/liblangutil/CharStream.cpp
Outdated
namespace std | ||
{ | ||
template<typename T> | ||
std::ostream& operator<<(std::ostream& _ostream, std::optional<T> const& _value) |
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.
I think you've done this because Boost.Test makes use of it for failure outputs?
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.
I think that adding stuff to std
is undefined behavior though, which is why I've usually been doing it this way instead:
solidity/test/solc/CommandLineInterface.cpp
Lines 50 to 108 in a7d89a9
namespace | |
{ | |
ostream& operator<<(ostream& _out, vector<ImportRemapper::Remapping> const& _remappings) | |
{ | |
static auto remappingToString = [](auto const& _remapping) | |
{ | |
return _remapping.context + ":" + _remapping.prefix + "=" + _remapping.target; | |
}; | |
_out << "[" << joinHumanReadable(_remappings | ranges::views::transform(remappingToString)) << "]"; | |
return _out; | |
} | |
ostream& operator<<(ostream& _out, map<string, string> const& _map) | |
{ | |
_out << "{" << endl; | |
for (auto const& [key, value]: _map) | |
_out << "" << key << ": " << value << "," << endl; | |
_out << "}"; | |
return _out; | |
} | |
ostream& operator<<(ostream& _out, PathSet const& _paths) | |
{ | |
static auto pathString = [](auto const& _path) { return _path.string(); }; | |
_out << "{" << joinHumanReadable(_paths | ranges::views::transform(pathString)) << "}"; | |
return _out; | |
} | |
} // namespace | |
namespace boost::test_tools::tt_detail | |
{ | |
// Boost won't find the << operator unless we put it in the std namespace which is illegal. | |
// The recommended solution is to overload print_log_value<> struct and make it use our operator. | |
template<> | |
struct print_log_value<vector<ImportRemapper::Remapping>> | |
{ | |
void operator()(std::ostream& _out, vector<ImportRemapper::Remapping> const& _value) { ::operator<<(_out, _value); } | |
}; | |
template<> | |
struct print_log_value<map<string, string>> | |
{ | |
void operator()(std::ostream& _out, map<string, string> const& _value) { ::operator<<(_out, _value); } | |
}; | |
template<> | |
struct print_log_value<PathSet> | |
{ | |
void operator()(std::ostream& _out, PathSet const& _value) { ::operator<<(_out, _value); } | |
}; | |
} // namespace boost::test_tools::tt_detail |
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.
Also, it would be nice to have this definition in test/Common.h
or some file it includes so that you don't have to define it every time locally.
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.
anonymous namespace is not visible across compilation units though. I think ostream& operator<<(ostream&, T)
should simply be in the same namespace as T
to be found by ADL (argument dependent lookup), isn't it?
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 fine in general but I just realized that we completely ignore CRLF. Can we actually do that?
test/liblangutil/CharStream.cpp
Outdated
{ | ||
return _ostream << "[nullopt]"; | ||
} | ||
} |
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.
Given that we do not indent namespaces, I think it's a nice convention to comment where they end:
} | |
} //namespace std |
Also, some whitespace after opening and before ending brace would be nice for readability.
a7d89a9
to
264b7bd
Compare
commit 0bbf58e Merge: 88cc422 2f90f2e Author: chriseth <chris@ethereum.org> Date: Mon Dec 13 12:59:33 2021 +0100 Merge pull request ethereum#12376 from ethereum/develop Merge `develop` into `breaking` commit 2f90f2e Merge: 592ac92 af02678 Author: chriseth <chris@ethereum.org> Date: Mon Dec 13 12:44:19 2021 +0100 Merge pull request ethereum#12387 from ethereum/ci-adjust-parallelism [CI] Adjust job parallelism to actually match available resources commit 592ac92 Merge: 2d0a14f e6179d5 Author: chriseth <chris@ethereum.org> Date: Mon Dec 13 12:30:47 2021 +0100 Merge pull request ethereum#12392 from ethereum/fix-colony-nightly-run Fix `t_ems_test_ext_colony` nightly job commit e6179d5 Author: Kamil Śliwak <kamil.sliwak@codepoets.it> Date: Fri Dec 10 14:59:13 2021 +0100 CI: Run `t_ems_test_ext_colony` on nodejs 14 - Otherwise it seems to require python, which is not available in CI. We could install it but we'll probably run into other issues on latest node and the switch to latest was not intentional anyway. commit 2d0a14f Merge: 6b77173 f0aadcf Author: chriseth <chris@ethereum.org> Date: Mon Dec 13 12:05:35 2021 +0100 Merge pull request ethereum#12390 from cybergirldinah/develop [Docs] Replaced dead link for Alarm Clock commit f0aadcf Author: dinah <cybergirldinah@gmail.com> Date: Thu Dec 9 20:18:28 2021 -0600 Remove stale link. commit 6b77173 Merge: a8f82b4 3649103 Author: chriseth <chris@ethereum.org> Date: Mon Dec 13 11:45:15 2021 +0100 Merge pull request ethereum#12380 from ethereum/native-solc-in-ext-tests External tests with native compiler binary commit a8f82b4 Merge: b14a674 01d45a1 Author: chriseth <chris@ethereum.org> Date: Mon Dec 13 11:36:47 2021 +0100 Merge pull request ethereum#12389 from gitpushOmnik/patch-1 Remove redundant typo commit 01d45a1 Author: Omkar Nikhal <69253915+gitpushOmnik@users.noreply.github.com> Date: Thu Dec 9 23:42:07 2021 +0530 Remove redundant typo commit 3649103 Author: Kamil Śliwak <kamil.sliwak@codepoets.it> Date: Tue Dec 7 16:34:07 2021 +0100 Switch most external tests to use native compiler built by b_ubu_static commit f5830c4 Author: Kamil Śliwak <kamil.sliwak@codepoets.it> Date: Tue Dec 7 16:30:25 2021 +0100 CI: Extend t_ems job to allow using both emscripten and native binaries commit eb8e304 Author: Kamil Śliwak <kamil.sliwak@codepoets.it> Date: Fri Dec 3 14:51:05 2021 +0100 externalTests: Add support for using a native binary commit 68ff073 Author: Kamil Śliwak <kamil.sliwak@codepoets.it> Date: Fri Dec 3 13:44:03 2021 +0100 externalTests.sh: Remove outdated commented-out command to run gnosis - A newer command is already enabled above it commit 081b80c Author: Kamil Śliwak <kamil.sliwak@codepoets.it> Date: Fri Dec 3 12:57:39 2021 +0100 externalTests: Refactor setup and input verification commit 0edbd90 Author: Kamil Śliwak <kamil.sliwak@codepoets.it> Date: Fri Dec 3 12:53:50 2021 +0100 externalTests: Use fail() function to simplify error checks commit af02678 Author: Kamil Śliwak <kamil.sliwak@codepoets.it> Date: Wed Dec 8 20:04:35 2021 +0100 CI: Adjust job parallelism to actually match available resources - Some jobs don't actually run in parallel but have the `parallelism` setting enabled. - `soltest_all` could be parallelized much more. commit b14a674 Merge: 26e5f23 d414153 Author: chriseth <chris@ethereum.org> Date: Mon Dec 6 18:48:14 2021 +0100 Merge pull request ethereum#12374 from ethereum/clarifyLiterals Some clarifications on literals. commit 26e5f23 Merge: 4e0f334 f0a9cd7 Author: chriseth <chris@ethereum.org> Date: Mon Dec 6 18:28:21 2021 +0100 Merge pull request ethereum#12375 from ethereum/typeOnChangelog Typo in changelog. commit d414153 Author: chriseth <chris@ethereum.org> Date: Mon Dec 6 15:59:08 2021 +0100 Some clarifications on literals. commit 4e0f334 Merge: 9e9225e a4fbc60 Author: chriseth <chris@ethereum.org> Date: Mon Dec 6 16:55:56 2021 +0100 Merge pull request ethereum#12275 from nishant-sachdeva/calldata-struct-arugment-with-internal-type-inside Calldata struct array arugment with internal type inside commit 9e9225e Merge: 18faafa f50aec9 Author: chriseth <chris@ethereum.org> Date: Mon Dec 6 16:50:27 2021 +0100 Merge pull request ethereum#11800 from spiyer99/separate-control-flow-from-error-reporting-in-CommandLineParser Separate control flow from error reporting in command line parser commit 18faafa Merge: f985913 b96d238 Author: chriseth <chris@ethereum.org> Date: Mon Dec 6 16:26:04 2021 +0100 Merge pull request ethereum#12215 from ethereum/optimize-ci-resource-usage [CI] Optimize CI resource usage commit f0a9cd7 Author: chriseth <chris@ethereum.org> Date: Mon Dec 6 16:15:32 2021 +0100 Typo in changelog. commit f985913 Merge: d8fa7ab d9a4020 Author: chriseth <chris@ethereum.org> Date: Mon Dec 6 11:50:58 2021 +0100 Merge pull request ethereum#12354 from ethereum/addReadBytesFunction Function to read a number of bytes from an input stream. commit d8fa7ab Merge: 1602d1c 6bafeca Author: chriseth <chris@ethereum.org> Date: Mon Dec 6 10:53:41 2021 +0100 Merge pull request ethereum#12366 from minaminao/fix_three_consecutive_backquote Fix several three consecutive backquotes in document commit 6bafeca Author: minami <minaminaoy@gmail.com> Date: Sun Dec 5 16:58:03 2021 +0900 Fix yul commit 907405e Author: minami <minaminaoy@gmail.com> Date: Sun Dec 5 16:57:59 2021 +0900 Fix units-and-global-variables commit 25a26d2 Author: minami <minaminaoy@gmail.com> Date: Sun Dec 5 16:57:48 2021 +0900 Fix cheatsheet commit 1602d1c Merge: c76a6bd 105de25 Author: Kamil Śliwak <kamil.sliwak@codepoets.it> Date: Fri Dec 3 22:19:18 2021 +0100 Merge pull request ethereum#12363 from saska/patch-1 rm trailing comma in style-guide.rst example commit b96d238 Author: Kamil Śliwak <kamil.sliwak@codepoets.it> Date: Fri Nov 5 17:26:52 2021 +0100 CI: Double the number of threads for jobs that did slow down after switching to a smaller resource class commit 075d7b6 Author: Kamil Śliwak <kamil.sliwak@codepoets.it> Date: Thu Oct 28 13:19:04 2021 +0200 CI: Remove separate compile-only runs for external tests that execute quickly commit 0cece8e Author: Kamil Śliwak <kamil.sliwak@codepoets.it> Date: Thu Oct 28 22:34:48 2021 +0200 CI: Optimize machine sizes for best speed/cost ratio commit a4fbc60 Author: nishant-sachdeva <nishant.sachdeva@research.iiit.ac.in> Date: Wed Nov 10 17:46:36 2021 +0530 Issue 11610 : Replced typeError with fataTypeError in lines 390 and 406. Test file added in test/libsolidity/syntaxTests/calldata_struct_argument_with_internal_type_inside.sol Issue : 11610 : Test cases updated, Changelog.md file updated to include change on 0.8.11 commit c76a6bd Merge: dcef56a 16535aa Author: Leo <leo@ethereum.org> Date: Fri Dec 3 01:03:59 2021 +0100 Merge pull request ethereum#12358 from ethereum/smt_fix_targets Fix ICE when unsafe targets are solved more than once and the cex is != commit 16535aa Author: Leo Alt <leo@ethereum.org> Date: Wed Dec 1 17:38:23 2021 +0100 Fix ICE when unsafe targets are solved more than once and the cex is different commit 105de25 Author: Saska Karsi <44523813+saska@users.noreply.github.com> Date: Fri Dec 3 01:11:04 2021 +0200 rm trailing comma in style-guide.rst example commit dcef56a Merge: 5d571bb 829fe66 Author: chriseth <chris@ethereum.org> Date: Wed Dec 1 16:53:42 2021 +0100 Merge pull request ethereum#12357 from ethereum/fixYulExampleCode Fix Yul example. commit d9a4020 Author: chriseth <chris@ethereum.org> Date: Wed Dec 1 12:31:21 2021 +0100 Function to read a number of bytes from an input stream. commit 829fe66 Author: chriseth <chris@ethereum.org> Date: Wed Dec 1 16:23:26 2021 +0100 Fix Yul example. commit 5d571bb Merge: d2585fd 264b7bd Author: chriseth <chris@ethereum.org> Date: Wed Dec 1 15:59:21 2021 +0100 Merge pull request ethereum#12352 from ethereum/lineColumnTranslateForCharStream LineColumn handling for CharStream. commit d2585fd Merge: 8569cf3 d56fb3a Author: chriseth <chris@ethereum.org> Date: Wed Dec 1 15:44:57 2021 +0100 Merge pull request ethereum#12322 from tzann/patch-1 Fix ExpressionSplitter example commit d56fb3a Author: Tynan Richards <tynan@kri.ch> Date: Wed Nov 24 14:39:14 2021 +0100 Fix ExpressionSplitter example Fix error (0x123 and 0x456 were swapped) and split constants into expressions commit 264b7bd Author: chriseth <chris@ethereum.org> Date: Wed Dec 1 12:20:09 2021 +0100 LineColumn handling for CharStream. commit 8569cf3 Merge: cc2a860 b6bd852 Author: chriseth <chris@ethereum.org> Date: Wed Dec 1 15:09:08 2021 +0100 Merge pull request ethereum#12353 from ethereum/accessorsForExecptions Accessors for exceptions. commit b6bd852 Author: chriseth <chris@ethereum.org> Date: Wed Dec 1 12:30:36 2021 +0100 Accessors for exceptions. commit cc2a860 Merge: 5a908a8 bd193ae Author: chriseth <chris@ethereum.org> Date: Wed Dec 1 13:29:20 2021 +0100 Merge pull request ethereum#12355 from ethereum/fixWhitespace Fix whitespace problem. commit bd193ae Author: chriseth <chris@ethereum.org> Date: Wed Dec 1 12:46:02 2021 +0100 Fix whitespace problem. commit 5a908a8 Merge: c04fca7 70e925d Author: chriseth <chris@ethereum.org> Date: Wed Dec 1 12:36:32 2021 +0100 Merge pull request ethereum#12348 from dallonasnes/fix-cut-on-macos Fix cl test script on macOS commit 70e925d Author: Dallon Asnes <30935722+dallonasnes@users.noreply.github.com> Date: Tue Nov 30 10:07:50 2021 -0600 Update test/cmdlineTests.sh Co-authored-by: Kamil Śliwak <cameel2@gmail.com> commit c04fca7 Merge: 2f95f3c 9f59d17 Author: Kamil Śliwak <kamil.sliwak@codepoets.it> Date: Tue Nov 30 16:17:28 2021 +0100 Merge pull request ethereum#12192 from ethereum/hardhat-in-oz-ext-test Use Hardhat and the right binary for OpenZeppelin external tests commit 2f95f3c Merge: 6005046 86ce5f1 Author: chriseth <chris@ethereum.org> Date: Tue Nov 30 11:47:01 2021 +0100 Merge pull request ethereum#12345 from ethereum/useLineColumn Use LineColumn type. commit 6005046 Merge: cb610b5 26ac843 Author: chriseth <chris@ethereum.org> Date: Tue Nov 30 11:46:41 2021 +0100 Merge pull request ethereum#12316 from ethereum/dont-require-jq-for-ci-gitter-notification CI: Don't require `jq` to extract workflow name commit a0aacb9 Author: Dallon Asnes <dallon.asnes@gmail.com> Date: Mon Nov 29 23:43:28 2021 -0600 Fix cl test script on macOS commit cb610b5 Merge: 622e896 310f743 Author: chriseth <chris@ethereum.org> Date: Tue Nov 30 00:09:31 2021 +0100 Merge pull request ethereum#12326 from dallonasnes/encode-packed-api-details Add fixed size type details to encodePacked doc commit 86ce5f1 Author: chriseth <chris@ethereum.org> Date: Mon Nov 29 21:19:41 2021 +0100 Use LineColumn type. commit 310f743 Author: Dallon Asnes <dallon.asnes@gmail.com> Date: Mon Nov 29 15:31:52 2021 -0600 Add fixed size type details to encodePacked doc commit 622e896 Merge: 3dd8285 bd399e3 Author: Kamil Śliwak <kamil.sliwak@codepoets.it> Date: Mon Nov 29 20:38:26 2021 +0100 Merge pull request ethereum#12342 from nishant-sachdeva/relocating_download_section_in_docs Restoring the RTD icon. Downloads section to still be above Versions section commit bd399e3 Author: nishant-sachdeva <nishant.sachdeva@research.iiit.ac.in> Date: Tue Nov 30 00:12:52 2021 +0530 restoring the RTD section. Downloads section to still be above versions section commit 3dd8285 Merge: de7b5a9 49d9f33 Author: chriseth <chris@ethereum.org> Date: Mon Nov 29 17:45:35 2021 +0100 Merge pull request ethereum#12300 from nishant-sachdeva/extracting_tests_from_solEndToEnd.cpp Extracted test cases from SolidityEndToEnd.cpp commit de7b5a9 Merge: e0c85c6 ecf6c8e Author: chriseth <chris@ethereum.org> Date: Mon Nov 29 17:29:33 2021 +0100 Merge pull request ethereum#12277 from nishant-sachdeva/relocating_download_section_in_docs Relocating download Section in docs commit 49d9f33 Author: nishant-sachdeva <nishant.sachdeva@research.iiit.ac.in> Date: Sun Nov 21 00:14:34 2021 +0530 Extracted some test cases from SolidityEndToEnd.cpp commit ecf6c8e Author: nishant-sachdeva <nishant.sachdeva@research.iiit.ac.in> Date: Sat Nov 13 01:41:38 2021 +0530 trailing whitespace removed in index.rst as per the requirements of a syntax test commit 5e59325 Author: nishant-sachdeva <nishant.sachdeva@research.iiit.ac.in> Date: Sat Nov 13 01:31:11 2021 +0530 relocated downloads section in versions flyout menu and added downloads Hint in index.html commit 9f59d17 Author: Kamil Śliwak <kamil.sliwak@codepoets.it> Date: Tue Oct 26 15:49:00 2021 +0200 Fix OpenZeppelin external tests to actually use Hardhat and the binary built in CI commit 674b1ec Author: Kamil Śliwak <kamil.sliwak@codepoets.it> Date: Fri Nov 5 17:38:25 2021 +0100 CI: Change the default node version in t_ems_ext from 14 to latest commit 26ac843 Author: Kamil Śliwak <kamil.sliwak@codepoets.it> Date: Tue Nov 23 17:09:50 2021 +0100 CI: Extract workflow name without jq commit e0c85c6 Merge: 2364d8f 1c8d430 Author: chriseth <chris@ethereum.org> Date: Thu Nov 25 12:11:17 2021 +0100 Merge pull request ethereum#12312 from ethereum/update_docker_z3 Bump z3 version to 4.8.13 in our docker files commit 2364d8f Merge: 71f8576 a258853 Author: Leo <leo@ethereum.org> Date: Thu Nov 25 12:10:12 2021 +0100 Merge pull request ethereum#12317 from ethereum/z3_4_8_13 Update smtchecker tests to z3 4.8.13 commit 1c8d430 Author: Bhargava Shastry <bhargava.shastry@ethereum.org> Date: Wed Nov 24 17:55:52 2021 +0100 Remove Hera as a dependency for oss-fuzz Docker image. commit 6b69791 Author: Bhargava Shastry <bhargava.shastry@ethereum.org> Date: Wed Nov 24 14:24:56 2021 +0100 Disabling Clang-14 bitwise instead of logical warning in Hera build. commit aa1a170 Author: Leo Alt <leo@ethereum.org> Date: Tue Nov 23 12:03:43 2021 +0100 Update z3 version in our docker files commit a258853 Author: Leo Alt <leo@ethereum.org> Date: Wed Nov 24 11:38:22 2021 +0100 macos nondeterminism commit 6cff73a Author: Leo Alt <leo@ethereum.org> Date: Tue Nov 23 18:59:26 2021 +0100 update osx z3 hash commit 0c34d9d Author: Leo Alt <leo@ethereum.org> Date: Tue Nov 23 18:54:44 2021 +0100 Adjust tests for nondeterminism commit ff5c842 Author: Leo Alt <leo@ethereum.org> Date: Tue Nov 23 18:08:36 2021 +0100 update smtchecker tests commit 406b1fb Author: Leo Alt <leo@ethereum.org> Date: Tue Nov 23 18:07:59 2021 +0100 bump docker hashes and z3 version commit 71f8576 Merge: 18d6792 00fb719 Author: chriseth <chris@ethereum.org> Date: Tue Nov 23 16:48:21 2021 +0100 Merge pull request ethereum#12315 from ethereum/correct-workflow-name-in-ci-gitter-notifications [CI] Correct workflow name in gitter notifications commit 00fb719 Author: Kamil Śliwak <kamil.sliwak@codepoets.it> Date: Tue Nov 23 16:41:22 2021 +0100 CI: Don't use # in gitter notifications commit 4e6b520 Author: Kamil Śliwak <kamil.sliwak@codepoets.it> Date: Tue Nov 23 16:40:54 2021 +0100 CI: Include workflow name instead of hard-coded "nightly" in gitter notifications commit 18d6792 Merge: 26cfa2a 0e7a065 Author: chriseth <chris@ethereum.org> Date: Tue Nov 23 15:47:24 2021 +0100 Merge pull request ethereum#12310 from ethereum/renameRedundant Rename RedundantAssignEliminator to UnusedAssignEliminator. commit 26cfa2a Merge: 9b6a687 3b98bee Author: chriseth <chris@ethereum.org> Date: Tue Nov 23 15:38:28 2021 +0100 Merge pull request ethereum#12314 from ethereum/updatez3ppa Update z3 version in ppa build file. commit 0e7a065 Author: chriseth <chris@ethereum.org> Date: Tue Nov 23 10:42:18 2021 +0100 Enhance documentation. commit 3b98bee Author: chriseth <chris@ethereum.org> Date: Tue Nov 23 14:05:14 2021 +0100 Update z3 version. commit bd321b9 Author: chriseth <chris@ethereum.org> Date: Tue Nov 23 10:37:12 2021 +0100 Rename RedundantAssignEliminator to UnusedAssignEliminator. commit 9b6a687 Merge: defc74c ef3c562 Author: Kamil Śliwak <kamil.sliwak@codepoets.it> Date: Mon Nov 22 23:56:46 2021 +0100 Merge pull request ethereum#12308 from dallonasnes/docs-typo-fix Fix typo in intro to smart contracts commit ef3c562 Author: Dallon Asnes <30935722+dallonasnes@users.noreply.github.com> Date: Mon Nov 22 15:18:43 2021 -0600 Fix typo commit defc74c Merge: 4361478 27dc77b Author: chriseth <chris@ethereum.org> Date: Mon Nov 22 12:39:07 2021 +0100 Merge pull request ethereum#12282 from ethereum/fix-gas-test-enforcement Fix gas cost enforcement for constructors and make `--enforce-gas-cost-min-value` actually work commit 4361478 Merge: 2aeeef8 b36a3c6 Author: chriseth <chris@ethereum.org> Date: Mon Nov 22 11:02:30 2021 +0100 Merge pull request ethereum#12301 from ethereum/docs-literals Fix documentation for valid ASCII string literals commit b36a3c6 Author: Alex Beregszaszi <alex@rtfs.hu> Date: Sat Nov 20 22:41:19 2021 +0000 Fix documentation for valid ASCII string literals commit 2aeeef8 Merge: cbb3e07 834f9d3 Author: Kamil Śliwak <kamil.sliwak@codepoets.it> Date: Thu Nov 18 17:27:57 2021 +0100 Merge pull request ethereum#12214 from ethereum/parallelize-external-tests Parallelize external tests commit cbb3e07 Merge: ab96f2b e2e3934 Author: Kamil Śliwak <kamil.sliwak@codepoets.it> Date: Thu Nov 18 15:17:44 2021 +0100 Merge pull request ethereum#12141 from ethereum/via-ir-equivalence-tests Tests for the equivalence of one- and two-stage compilation via IR commit ab96f2b Merge: e557952 ab5a06e Author: Kamil Śliwak <kamil.sliwak@codepoets.it> Date: Thu Nov 18 15:09:31 2021 +0100 Merge pull request ethereum#12200 from ethereum/refactorASTJSON Refactor ASTJSON tests to allow easier addition of variations. commit e557952 Merge: 7334420 90fdea9 Author: chriseth <chris@ethereum.org> Date: Tue Nov 16 11:31:52 2021 +0100 Merge pull request ethereum#12284 from ethereum/fix-isoltest-formatting-for-strings-with-control-chars Fix formatting for strings with control characters in isoltest expectations commit 90fdea9 Author: Kamil Śliwak <kamil.sliwak@codepoets.it> Date: Mon Nov 15 19:58:59 2021 +0100 TestFunctionCall::formatRawParameters(): Ensure that uint8_t overload of toHex() is called - Wrong overload results in isoltest padding each char to 32 bytes commit 27dc77b Author: Kamil Śliwak <kamil.sliwak@codepoets.it> Date: Mon Nov 15 16:32:38 2021 +0100 Fix typo in test name: ihneritance -> inheritance commit 032f2d8 Author: Kamil Śliwak <kamil.sliwak@codepoets.it> Date: Mon Nov 15 16:19:33 2021 +0100 Update gas expectations commit f42180e Author: Kamil Śliwak <kamil.sliwak@codepoets.it> Date: Mon Nov 15 14:42:10 2021 +0100 Rename gas constants in ExecutionFramework commit 077b3a0 Author: Kamil Śliwak <kamil.sliwak@codepoets.it> Date: Mon Nov 15 14:36:13 2021 +0100 Fix `--enforce-gas-cost-min-value` being applied only when the cost expectations are not provided in the test file commit cf52827 Author: Kamil Śliwak <kamil.sliwak@codepoets.it> Date: Mon Nov 15 14:29:22 2021 +0100 Fix gas mismatch in constructor not being counted as a failure commit 7334420 Merge: 969707c 49b4e77 Author: chriseth <chris@ethereum.org> Date: Thu Nov 11 14:29:19 2021 +0100 Merge pull request ethereum#12193 from ethereum/use-src-ewasm-crash Fix crash when using @use-src while compiling yul -> ewasm commit 49b4e77 Author: Marenz <github@supradigital.org> Date: Tue Oct 26 14:03:23 2021 +0200 Prevent crash when translating yul->ewasm with @use-src annotations commit 969707c Merge: 9240368 d3b2463 Author: chriseth <chris@ethereum.org> Date: Thu Nov 11 11:31:51 2021 +0100 Merge pull request ethereum#12060 from acoglio/patch-3 Make evaluation of string literals more generic commit ab5a06e Author: Marenz <github@supradigital.org> Date: Wed Oct 27 13:22:02 2021 +0200 Refactor ASTJSON tests to allow easier addition of variations. commit d3b2463 Author: Alessandro Coglio <coglio@kestrel.edu> Date: Wed Sep 29 13:05:08 2021 -0700 Improve description of literal evaluation. commit 9240368 Merge: f42e3c0 0ec3f52 Author: Mathias L. Baumann <Marenz@users.noreply.github.com> Date: Wed Nov 10 18:34:08 2021 +0100 Merge pull request ethereum#12269 from ethereum/fix-gitter-ci-notifications-for-non-pr-runs Fix gitter notifications for non-PR runs in CI commit e2e3934 Author: Kamil Śliwak <kamil.sliwak@codepoets.it> Date: Fri Oct 15 15:50:52 2021 +0200 Install diffutils on macOS to get diff with color support commit 0d82fe9 Author: Kamil Śliwak <kamil.sliwak@codepoets.it> Date: Thu Oct 14 17:30:13 2021 +0200 cmdlineTests.sh: Test the equivalence of one and two-stage compilation via IR commit 0ec3f52 Author: Kamil Śliwak <kamil.sliwak@codepoets.it> Date: Wed Nov 10 17:05:23 2021 +0100 CI: Workaround for $CIRCLE_PULL_REQUEST pointing at random PRs in runs outside of PRs commit f42e3c0 Merge: 19159b9 1061818 Author: chriseth <chris@ethereum.org> Date: Wed Nov 10 11:09:15 2021 +0100 Merge pull request ethereum#12262 from ethereum/functionGrouper Keep canonical form of Yul during optimization. commit f50aec9 Author: Kamil Śliwak <kamil.sliwak@codepoets.it> Date: Wed Oct 13 12:55:49 2021 +0200 CommandLineInterface: Report an error immediately when writing to disk fails commit c8380c2 Author: Kamil Śliwak <kamil.sliwak@codepoets.it> Date: Tue Oct 12 14:16:29 2021 +0200 CommandLineInterface: Update control flow to accommodate the new way of reporting errors commit e829bcd Author: neel iyer <33139997+spiyer99@users.noreply.github.com> Date: Sun Aug 15 11:14:38 2021 +1000 CommandLineInterface: Replace code that prints to serr() and returns false with CommandLineValidationError exception commit 16f62ed Author: Kamil Śliwak <kamil.sliwak@codepoets.it> Date: Mon Oct 11 14:20:56 2021 +0200 Move the Yul experimental warning from CommandLineParser to CommandLineInterface and remove stderr from the parser commit 3f54711 Author: Kamil Śliwak <kamil.sliwak@codepoets.it> Date: Mon Oct 11 13:48:03 2021 +0200 CommandLineParser: Report errors by raising exceptions commit cda0d02 Author: neel iyer <33139997+spiyer99@users.noreply.github.com> Date: Sun Aug 15 10:32:01 2021 +1000 Define CommandLineError and a few exceptions derived from it commit 276d173 Author: Kamil Śliwak <kamil.sliwak@codepoets.it> Date: Tue Oct 12 12:51:44 2021 +0200 Document DEV_SIMPLE_EXCEPTION macro commit 834f9d3 Author: Kamil Śliwak <kamil.sliwak@codepoets.it> Date: Thu Oct 28 12:46:34 2021 +0200 Parallelize external test runs on CircleCI commit fbc48e3 Author: Kamil Śliwak <kamil.sliwak@codepoets.it> Date: Thu Oct 28 12:32:53 2021 +0200 Extract helpers for managing steps in parallelized CircleCI jobs from soltest_all.sh commit 1061818 Author: Daniel Kirchner <daniel@ekpyron.org> Date: Tue Nov 9 13:25:25 2021 +0100 Update tests. commit f2d9a80 Author: Daniel Kirchner <daniel@ekpyron.org> Date: Tue Nov 9 13:25:13 2021 +0100 Document change to BlockFlattener. commit 9fb77b1 Author: Daniel Kirchner <daniel@ekpyron.org> Date: Tue Nov 9 13:25:00 2021 +0100 Keep canonical form of Yul code at all times.
No description provided.