diff --git a/slither/solc_parsing/declarations/modifier.py b/slither/solc_parsing/declarations/modifier.py index 3fdc22d4e..a3f07da7f 100644 --- a/slither/solc_parsing/declarations/modifier.py +++ b/slither/solc_parsing/declarations/modifier.py @@ -62,7 +62,7 @@ class ModifierSolc(FunctionSolc): self._content_was_analyzed = True if self.is_compact_ast: - body = self._functionNotParsed["body"] + body = self._functionNotParsed.get("body", None) if body and body[self.get_key()] == "Block": self._function.is_implemented = True diff --git a/tests/ast-parsing/compile/modifier-0.7.0.sol-0.7.0-compact.zip b/tests/ast-parsing/compile/modifier-0.7.0.sol-0.7.0-compact.zip new file mode 100644 index 000000000..eab87a486 Binary files /dev/null and b/tests/ast-parsing/compile/modifier-0.7.0.sol-0.7.0-compact.zip differ diff --git a/tests/ast-parsing/compile/modifier-0.7.0.sol-0.7.0-legacy.zip b/tests/ast-parsing/compile/modifier-0.7.0.sol-0.7.0-legacy.zip new file mode 100644 index 000000000..b5946691d Binary files /dev/null and b/tests/ast-parsing/compile/modifier-0.7.0.sol-0.7.0-legacy.zip differ diff --git a/tests/ast-parsing/compile/modifier-0.7.0.sol-0.7.1-compact.zip b/tests/ast-parsing/compile/modifier-0.7.0.sol-0.7.1-compact.zip new file mode 100644 index 000000000..3d960b6b4 Binary files /dev/null and b/tests/ast-parsing/compile/modifier-0.7.0.sol-0.7.1-compact.zip differ diff --git a/tests/ast-parsing/compile/modifier-0.7.0.sol-0.7.1-legacy.zip b/tests/ast-parsing/compile/modifier-0.7.0.sol-0.7.1-legacy.zip new file mode 100644 index 000000000..c19cda479 Binary files /dev/null and b/tests/ast-parsing/compile/modifier-0.7.0.sol-0.7.1-legacy.zip differ diff --git a/tests/ast-parsing/compile/modifier-0.7.0.sol-0.7.2-compact.zip b/tests/ast-parsing/compile/modifier-0.7.0.sol-0.7.2-compact.zip new file mode 100644 index 000000000..065df29b3 Binary files /dev/null and b/tests/ast-parsing/compile/modifier-0.7.0.sol-0.7.2-compact.zip differ diff --git a/tests/ast-parsing/compile/modifier-0.7.0.sol-0.7.2-legacy.zip b/tests/ast-parsing/compile/modifier-0.7.0.sol-0.7.2-legacy.zip new file mode 100644 index 000000000..4f749c9ca Binary files /dev/null and b/tests/ast-parsing/compile/modifier-0.7.0.sol-0.7.2-legacy.zip differ diff --git a/tests/ast-parsing/compile/modifier-0.7.0.sol-0.7.3-compact.zip b/tests/ast-parsing/compile/modifier-0.7.0.sol-0.7.3-compact.zip new file mode 100644 index 000000000..24b6863ae Binary files /dev/null and b/tests/ast-parsing/compile/modifier-0.7.0.sol-0.7.3-compact.zip differ diff --git a/tests/ast-parsing/compile/modifier-0.7.0.sol-0.7.3-legacy.zip b/tests/ast-parsing/compile/modifier-0.7.0.sol-0.7.3-legacy.zip new file mode 100644 index 000000000..ed1aec78b Binary files /dev/null and b/tests/ast-parsing/compile/modifier-0.7.0.sol-0.7.3-legacy.zip differ diff --git a/tests/ast-parsing/compile/modifier-0.7.0.sol-0.7.4-compact.zip b/tests/ast-parsing/compile/modifier-0.7.0.sol-0.7.4-compact.zip new file mode 100644 index 000000000..bcd70d56a Binary files /dev/null and b/tests/ast-parsing/compile/modifier-0.7.0.sol-0.7.4-compact.zip differ diff --git a/tests/ast-parsing/compile/modifier-0.7.0.sol-0.7.4-legacy.zip b/tests/ast-parsing/compile/modifier-0.7.0.sol-0.7.4-legacy.zip new file mode 100644 index 000000000..4eaa1a25e Binary files /dev/null and b/tests/ast-parsing/compile/modifier-0.7.0.sol-0.7.4-legacy.zip differ diff --git a/tests/ast-parsing/compile/modifier-0.7.0.sol-0.7.5-compact.zip b/tests/ast-parsing/compile/modifier-0.7.0.sol-0.7.5-compact.zip new file mode 100644 index 000000000..1e5f938ad Binary files /dev/null and b/tests/ast-parsing/compile/modifier-0.7.0.sol-0.7.5-compact.zip differ diff --git a/tests/ast-parsing/compile/modifier-0.7.0.sol-0.7.5-legacy.zip b/tests/ast-parsing/compile/modifier-0.7.0.sol-0.7.5-legacy.zip new file mode 100644 index 000000000..daa91f7bf Binary files /dev/null and b/tests/ast-parsing/compile/modifier-0.7.0.sol-0.7.5-legacy.zip differ diff --git a/tests/ast-parsing/compile/modifier-0.7.0.sol-0.7.6-compact.zip b/tests/ast-parsing/compile/modifier-0.7.0.sol-0.7.6-compact.zip new file mode 100644 index 000000000..c69f3f426 Binary files /dev/null and b/tests/ast-parsing/compile/modifier-0.7.0.sol-0.7.6-compact.zip differ diff --git a/tests/ast-parsing/compile/modifier-0.7.0.sol-0.7.6-legacy.zip b/tests/ast-parsing/compile/modifier-0.7.0.sol-0.7.6-legacy.zip new file mode 100644 index 000000000..db8047403 Binary files /dev/null and b/tests/ast-parsing/compile/modifier-0.7.0.sol-0.7.6-legacy.zip differ diff --git a/tests/ast-parsing/compile/modifier-0.7.0.sol-0.8.0-compact.zip b/tests/ast-parsing/compile/modifier-0.7.0.sol-0.8.0-compact.zip new file mode 100644 index 000000000..9d472762d Binary files /dev/null and b/tests/ast-parsing/compile/modifier-0.7.0.sol-0.8.0-compact.zip differ diff --git a/tests/ast-parsing/compile/modifier-0.7.0.sol-0.8.1-compact.zip b/tests/ast-parsing/compile/modifier-0.7.0.sol-0.8.1-compact.zip new file mode 100644 index 000000000..1aafa0cbe Binary files /dev/null and b/tests/ast-parsing/compile/modifier-0.7.0.sol-0.8.1-compact.zip differ diff --git a/tests/ast-parsing/compile/modifier-0.7.0.sol-0.8.10-compact.zip b/tests/ast-parsing/compile/modifier-0.7.0.sol-0.8.10-compact.zip new file mode 100644 index 000000000..70882f214 Binary files /dev/null and b/tests/ast-parsing/compile/modifier-0.7.0.sol-0.8.10-compact.zip differ diff --git a/tests/ast-parsing/compile/modifier-0.7.0.sol-0.8.11-compact.zip b/tests/ast-parsing/compile/modifier-0.7.0.sol-0.8.11-compact.zip new file mode 100644 index 000000000..94bc29af8 Binary files /dev/null and b/tests/ast-parsing/compile/modifier-0.7.0.sol-0.8.11-compact.zip differ diff --git a/tests/ast-parsing/compile/modifier-0.7.0.sol-0.8.12-compact.zip b/tests/ast-parsing/compile/modifier-0.7.0.sol-0.8.12-compact.zip new file mode 100644 index 000000000..ffa634d55 Binary files /dev/null and b/tests/ast-parsing/compile/modifier-0.7.0.sol-0.8.12-compact.zip differ diff --git a/tests/ast-parsing/compile/modifier-0.7.0.sol-0.8.13-compact.zip b/tests/ast-parsing/compile/modifier-0.7.0.sol-0.8.13-compact.zip new file mode 100644 index 000000000..c56bc86aa Binary files /dev/null and b/tests/ast-parsing/compile/modifier-0.7.0.sol-0.8.13-compact.zip differ diff --git a/tests/ast-parsing/compile/modifier-0.7.0.sol-0.8.14-compact.zip b/tests/ast-parsing/compile/modifier-0.7.0.sol-0.8.14-compact.zip new file mode 100644 index 000000000..d833db792 Binary files /dev/null and b/tests/ast-parsing/compile/modifier-0.7.0.sol-0.8.14-compact.zip differ diff --git a/tests/ast-parsing/compile/modifier-0.7.0.sol-0.8.15-compact.zip b/tests/ast-parsing/compile/modifier-0.7.0.sol-0.8.15-compact.zip new file mode 100644 index 000000000..466a99699 Binary files /dev/null and b/tests/ast-parsing/compile/modifier-0.7.0.sol-0.8.15-compact.zip differ diff --git a/tests/ast-parsing/compile/modifier-0.7.0.sol-0.8.2-compact.zip b/tests/ast-parsing/compile/modifier-0.7.0.sol-0.8.2-compact.zip new file mode 100644 index 000000000..59e68af7a Binary files /dev/null and b/tests/ast-parsing/compile/modifier-0.7.0.sol-0.8.2-compact.zip differ diff --git a/tests/ast-parsing/compile/modifier-0.7.0.sol-0.8.3-compact.zip b/tests/ast-parsing/compile/modifier-0.7.0.sol-0.8.3-compact.zip new file mode 100644 index 000000000..f477ad171 Binary files /dev/null and b/tests/ast-parsing/compile/modifier-0.7.0.sol-0.8.3-compact.zip differ diff --git a/tests/ast-parsing/compile/modifier-0.7.0.sol-0.8.4-compact.zip b/tests/ast-parsing/compile/modifier-0.7.0.sol-0.8.4-compact.zip new file mode 100644 index 000000000..721779db1 Binary files /dev/null and b/tests/ast-parsing/compile/modifier-0.7.0.sol-0.8.4-compact.zip differ diff --git a/tests/ast-parsing/compile/modifier-0.7.0.sol-0.8.5-compact.zip b/tests/ast-parsing/compile/modifier-0.7.0.sol-0.8.5-compact.zip new file mode 100644 index 000000000..5bafac6b9 Binary files /dev/null and b/tests/ast-parsing/compile/modifier-0.7.0.sol-0.8.5-compact.zip differ diff --git a/tests/ast-parsing/compile/modifier-0.7.0.sol-0.8.6-compact.zip b/tests/ast-parsing/compile/modifier-0.7.0.sol-0.8.6-compact.zip new file mode 100644 index 000000000..e0358444c Binary files /dev/null and b/tests/ast-parsing/compile/modifier-0.7.0.sol-0.8.6-compact.zip differ diff --git a/tests/ast-parsing/compile/modifier-0.7.0.sol-0.8.7-compact.zip b/tests/ast-parsing/compile/modifier-0.7.0.sol-0.8.7-compact.zip new file mode 100644 index 000000000..f9d887546 Binary files /dev/null and b/tests/ast-parsing/compile/modifier-0.7.0.sol-0.8.7-compact.zip differ diff --git a/tests/ast-parsing/compile/modifier-0.7.0.sol-0.8.8-compact.zip b/tests/ast-parsing/compile/modifier-0.7.0.sol-0.8.8-compact.zip new file mode 100644 index 000000000..ddcc81093 Binary files /dev/null and b/tests/ast-parsing/compile/modifier-0.7.0.sol-0.8.8-compact.zip differ diff --git a/tests/ast-parsing/compile/modifier-0.7.0.sol-0.8.9-compact.zip b/tests/ast-parsing/compile/modifier-0.7.0.sol-0.8.9-compact.zip new file mode 100644 index 000000000..ebd1e7f23 Binary files /dev/null and b/tests/ast-parsing/compile/modifier-0.7.0.sol-0.8.9-compact.zip differ diff --git a/tests/ast-parsing/compile/modifier-all.sol-0.4.0-compact.zip b/tests/ast-parsing/compile/modifier-all.sol-0.4.0-compact.zip index cfddc0391..c6e39a8f0 100644 Binary files a/tests/ast-parsing/compile/modifier-all.sol-0.4.0-compact.zip and b/tests/ast-parsing/compile/modifier-all.sol-0.4.0-compact.zip differ diff --git a/tests/ast-parsing/compile/modifier-all.sol-0.4.0-legacy.zip b/tests/ast-parsing/compile/modifier-all.sol-0.4.0-legacy.zip index 39d95cfe6..512e114a1 100644 Binary files a/tests/ast-parsing/compile/modifier-all.sol-0.4.0-legacy.zip and b/tests/ast-parsing/compile/modifier-all.sol-0.4.0-legacy.zip differ diff --git a/tests/ast-parsing/compile/modifier-all.sol-0.4.1-compact.zip b/tests/ast-parsing/compile/modifier-all.sol-0.4.1-compact.zip index 69a7a8fe4..38729e076 100644 Binary files a/tests/ast-parsing/compile/modifier-all.sol-0.4.1-compact.zip and b/tests/ast-parsing/compile/modifier-all.sol-0.4.1-compact.zip differ diff --git a/tests/ast-parsing/compile/modifier-all.sol-0.4.1-legacy.zip b/tests/ast-parsing/compile/modifier-all.sol-0.4.1-legacy.zip index 26988bdc6..46a1a7d69 100644 Binary files a/tests/ast-parsing/compile/modifier-all.sol-0.4.1-legacy.zip and b/tests/ast-parsing/compile/modifier-all.sol-0.4.1-legacy.zip differ diff --git a/tests/ast-parsing/compile/modifier-all.sol-0.4.10-compact.zip b/tests/ast-parsing/compile/modifier-all.sol-0.4.10-compact.zip index c816e1db5..16f0e3694 100644 Binary files a/tests/ast-parsing/compile/modifier-all.sol-0.4.10-compact.zip and b/tests/ast-parsing/compile/modifier-all.sol-0.4.10-compact.zip differ diff --git a/tests/ast-parsing/compile/modifier-all.sol-0.4.10-legacy.zip b/tests/ast-parsing/compile/modifier-all.sol-0.4.10-legacy.zip index c816e1db5..16f0e3694 100644 Binary files a/tests/ast-parsing/compile/modifier-all.sol-0.4.10-legacy.zip and b/tests/ast-parsing/compile/modifier-all.sol-0.4.10-legacy.zip differ diff --git a/tests/ast-parsing/compile/modifier-all.sol-0.4.11-compact.zip b/tests/ast-parsing/compile/modifier-all.sol-0.4.11-compact.zip index eb7c8fe70..9eb504d53 100644 Binary files a/tests/ast-parsing/compile/modifier-all.sol-0.4.11-compact.zip and b/tests/ast-parsing/compile/modifier-all.sol-0.4.11-compact.zip differ diff --git a/tests/ast-parsing/compile/modifier-all.sol-0.4.11-legacy.zip b/tests/ast-parsing/compile/modifier-all.sol-0.4.11-legacy.zip index eb7c8fe70..9eb504d53 100644 Binary files a/tests/ast-parsing/compile/modifier-all.sol-0.4.11-legacy.zip and b/tests/ast-parsing/compile/modifier-all.sol-0.4.11-legacy.zip differ diff --git a/tests/ast-parsing/compile/modifier-all.sol-0.4.12-compact.zip b/tests/ast-parsing/compile/modifier-all.sol-0.4.12-compact.zip index 18b5c0023..bda6fe0e3 100644 Binary files a/tests/ast-parsing/compile/modifier-all.sol-0.4.12-compact.zip and b/tests/ast-parsing/compile/modifier-all.sol-0.4.12-compact.zip differ diff --git a/tests/ast-parsing/compile/modifier-all.sol-0.4.12-legacy.zip b/tests/ast-parsing/compile/modifier-all.sol-0.4.12-legacy.zip index 18b5c0023..bda6fe0e3 100644 Binary files a/tests/ast-parsing/compile/modifier-all.sol-0.4.12-legacy.zip and b/tests/ast-parsing/compile/modifier-all.sol-0.4.12-legacy.zip differ diff --git a/tests/ast-parsing/compile/modifier-all.sol-0.4.13-compact.zip b/tests/ast-parsing/compile/modifier-all.sol-0.4.13-compact.zip index 05e511d79..d0d183716 100644 Binary files a/tests/ast-parsing/compile/modifier-all.sol-0.4.13-compact.zip and b/tests/ast-parsing/compile/modifier-all.sol-0.4.13-compact.zip differ diff --git a/tests/ast-parsing/compile/modifier-all.sol-0.4.13-legacy.zip b/tests/ast-parsing/compile/modifier-all.sol-0.4.13-legacy.zip index 4f1ca3c92..579d9f6d0 100644 Binary files a/tests/ast-parsing/compile/modifier-all.sol-0.4.13-legacy.zip and b/tests/ast-parsing/compile/modifier-all.sol-0.4.13-legacy.zip differ diff --git a/tests/ast-parsing/compile/modifier-all.sol-0.4.14-compact.zip b/tests/ast-parsing/compile/modifier-all.sol-0.4.14-compact.zip index db0a0f3fd..ff506a007 100644 Binary files a/tests/ast-parsing/compile/modifier-all.sol-0.4.14-compact.zip and b/tests/ast-parsing/compile/modifier-all.sol-0.4.14-compact.zip differ diff --git a/tests/ast-parsing/compile/modifier-all.sol-0.4.14-legacy.zip b/tests/ast-parsing/compile/modifier-all.sol-0.4.14-legacy.zip index d42f602b7..61a37cac3 100644 Binary files a/tests/ast-parsing/compile/modifier-all.sol-0.4.14-legacy.zip and b/tests/ast-parsing/compile/modifier-all.sol-0.4.14-legacy.zip differ diff --git a/tests/ast-parsing/compile/modifier-all.sol-0.4.15-compact.zip b/tests/ast-parsing/compile/modifier-all.sol-0.4.15-compact.zip index 0483a7aab..062329dc3 100644 Binary files a/tests/ast-parsing/compile/modifier-all.sol-0.4.15-compact.zip and b/tests/ast-parsing/compile/modifier-all.sol-0.4.15-compact.zip differ diff --git a/tests/ast-parsing/compile/modifier-all.sol-0.4.15-legacy.zip b/tests/ast-parsing/compile/modifier-all.sol-0.4.15-legacy.zip index 547e3a7fd..148b2f868 100644 Binary files a/tests/ast-parsing/compile/modifier-all.sol-0.4.15-legacy.zip and b/tests/ast-parsing/compile/modifier-all.sol-0.4.15-legacy.zip differ diff --git a/tests/ast-parsing/compile/modifier-all.sol-0.4.16-compact.zip b/tests/ast-parsing/compile/modifier-all.sol-0.4.16-compact.zip index 017670d1c..1259e4e03 100644 Binary files a/tests/ast-parsing/compile/modifier-all.sol-0.4.16-compact.zip and b/tests/ast-parsing/compile/modifier-all.sol-0.4.16-compact.zip differ diff --git a/tests/ast-parsing/compile/modifier-all.sol-0.4.16-legacy.zip b/tests/ast-parsing/compile/modifier-all.sol-0.4.16-legacy.zip index 07ae0f8be..97c4f577c 100644 Binary files a/tests/ast-parsing/compile/modifier-all.sol-0.4.16-legacy.zip and b/tests/ast-parsing/compile/modifier-all.sol-0.4.16-legacy.zip differ diff --git a/tests/ast-parsing/compile/modifier-all.sol-0.4.17-compact.zip b/tests/ast-parsing/compile/modifier-all.sol-0.4.17-compact.zip index 66e5c9957..2106dc2cb 100644 Binary files a/tests/ast-parsing/compile/modifier-all.sol-0.4.17-compact.zip and b/tests/ast-parsing/compile/modifier-all.sol-0.4.17-compact.zip differ diff --git a/tests/ast-parsing/compile/modifier-all.sol-0.4.17-legacy.zip b/tests/ast-parsing/compile/modifier-all.sol-0.4.17-legacy.zip index 44bda80fa..c7c6c92cb 100644 Binary files a/tests/ast-parsing/compile/modifier-all.sol-0.4.17-legacy.zip and b/tests/ast-parsing/compile/modifier-all.sol-0.4.17-legacy.zip differ diff --git a/tests/ast-parsing/compile/modifier-all.sol-0.4.18-compact.zip b/tests/ast-parsing/compile/modifier-all.sol-0.4.18-compact.zip index 025fafec4..8dcf47e25 100644 Binary files a/tests/ast-parsing/compile/modifier-all.sol-0.4.18-compact.zip and b/tests/ast-parsing/compile/modifier-all.sol-0.4.18-compact.zip differ diff --git a/tests/ast-parsing/compile/modifier-all.sol-0.4.18-legacy.zip b/tests/ast-parsing/compile/modifier-all.sol-0.4.18-legacy.zip index 2900f1013..8c756b719 100644 Binary files a/tests/ast-parsing/compile/modifier-all.sol-0.4.18-legacy.zip and b/tests/ast-parsing/compile/modifier-all.sol-0.4.18-legacy.zip differ diff --git a/tests/ast-parsing/compile/modifier-all.sol-0.4.19-compact.zip b/tests/ast-parsing/compile/modifier-all.sol-0.4.19-compact.zip index b141c15d6..b90f8c07e 100644 Binary files a/tests/ast-parsing/compile/modifier-all.sol-0.4.19-compact.zip and b/tests/ast-parsing/compile/modifier-all.sol-0.4.19-compact.zip differ diff --git a/tests/ast-parsing/compile/modifier-all.sol-0.4.19-legacy.zip b/tests/ast-parsing/compile/modifier-all.sol-0.4.19-legacy.zip index 7f575de73..8c8fbab7d 100644 Binary files a/tests/ast-parsing/compile/modifier-all.sol-0.4.19-legacy.zip and b/tests/ast-parsing/compile/modifier-all.sol-0.4.19-legacy.zip differ diff --git a/tests/ast-parsing/compile/modifier-all.sol-0.4.2-compact.zip b/tests/ast-parsing/compile/modifier-all.sol-0.4.2-compact.zip index 8bc67d877..61e616857 100644 Binary files a/tests/ast-parsing/compile/modifier-all.sol-0.4.2-compact.zip and b/tests/ast-parsing/compile/modifier-all.sol-0.4.2-compact.zip differ diff --git a/tests/ast-parsing/compile/modifier-all.sol-0.4.2-legacy.zip b/tests/ast-parsing/compile/modifier-all.sol-0.4.2-legacy.zip index 7c3aed134..d5d0691db 100644 Binary files a/tests/ast-parsing/compile/modifier-all.sol-0.4.2-legacy.zip and b/tests/ast-parsing/compile/modifier-all.sol-0.4.2-legacy.zip differ diff --git a/tests/ast-parsing/compile/modifier-all.sol-0.4.20-compact.zip b/tests/ast-parsing/compile/modifier-all.sol-0.4.20-compact.zip index 9ad17df8c..7dbfd796b 100644 Binary files a/tests/ast-parsing/compile/modifier-all.sol-0.4.20-compact.zip and b/tests/ast-parsing/compile/modifier-all.sol-0.4.20-compact.zip differ diff --git a/tests/ast-parsing/compile/modifier-all.sol-0.4.20-legacy.zip b/tests/ast-parsing/compile/modifier-all.sol-0.4.20-legacy.zip index 35c6a0757..f2f57278f 100644 Binary files a/tests/ast-parsing/compile/modifier-all.sol-0.4.20-legacy.zip and b/tests/ast-parsing/compile/modifier-all.sol-0.4.20-legacy.zip differ diff --git a/tests/ast-parsing/compile/modifier-all.sol-0.4.21-compact.zip b/tests/ast-parsing/compile/modifier-all.sol-0.4.21-compact.zip index 1ed1491e8..620bceadb 100644 Binary files a/tests/ast-parsing/compile/modifier-all.sol-0.4.21-compact.zip and b/tests/ast-parsing/compile/modifier-all.sol-0.4.21-compact.zip differ diff --git a/tests/ast-parsing/compile/modifier-all.sol-0.4.21-legacy.zip b/tests/ast-parsing/compile/modifier-all.sol-0.4.21-legacy.zip index 739750ff4..bbe5db5a4 100644 Binary files a/tests/ast-parsing/compile/modifier-all.sol-0.4.21-legacy.zip and b/tests/ast-parsing/compile/modifier-all.sol-0.4.21-legacy.zip differ diff --git a/tests/ast-parsing/compile/modifier-all.sol-0.4.22-compact.zip b/tests/ast-parsing/compile/modifier-all.sol-0.4.22-compact.zip index 4b148ba56..6d0ac5e34 100644 Binary files a/tests/ast-parsing/compile/modifier-all.sol-0.4.22-compact.zip and b/tests/ast-parsing/compile/modifier-all.sol-0.4.22-compact.zip differ diff --git a/tests/ast-parsing/compile/modifier-all.sol-0.4.22-legacy.zip b/tests/ast-parsing/compile/modifier-all.sol-0.4.22-legacy.zip index c2be37ba9..ecf80602f 100644 Binary files a/tests/ast-parsing/compile/modifier-all.sol-0.4.22-legacy.zip and b/tests/ast-parsing/compile/modifier-all.sol-0.4.22-legacy.zip differ diff --git a/tests/ast-parsing/compile/modifier-all.sol-0.4.23-compact.zip b/tests/ast-parsing/compile/modifier-all.sol-0.4.23-compact.zip index 19c1a4293..a7b910323 100644 Binary files a/tests/ast-parsing/compile/modifier-all.sol-0.4.23-compact.zip and b/tests/ast-parsing/compile/modifier-all.sol-0.4.23-compact.zip differ diff --git a/tests/ast-parsing/compile/modifier-all.sol-0.4.23-legacy.zip b/tests/ast-parsing/compile/modifier-all.sol-0.4.23-legacy.zip index fe5195a08..ba2050320 100644 Binary files a/tests/ast-parsing/compile/modifier-all.sol-0.4.23-legacy.zip and b/tests/ast-parsing/compile/modifier-all.sol-0.4.23-legacy.zip differ diff --git a/tests/ast-parsing/compile/modifier-all.sol-0.4.24-compact.zip b/tests/ast-parsing/compile/modifier-all.sol-0.4.24-compact.zip index 3760c5f0b..1222d8d8d 100644 Binary files a/tests/ast-parsing/compile/modifier-all.sol-0.4.24-compact.zip and b/tests/ast-parsing/compile/modifier-all.sol-0.4.24-compact.zip differ diff --git a/tests/ast-parsing/compile/modifier-all.sol-0.4.24-legacy.zip b/tests/ast-parsing/compile/modifier-all.sol-0.4.24-legacy.zip index 25d4442ea..873ee11fe 100644 Binary files a/tests/ast-parsing/compile/modifier-all.sol-0.4.24-legacy.zip and b/tests/ast-parsing/compile/modifier-all.sol-0.4.24-legacy.zip differ diff --git a/tests/ast-parsing/compile/modifier-all.sol-0.4.25-compact.zip b/tests/ast-parsing/compile/modifier-all.sol-0.4.25-compact.zip index f66a17d9a..c1b054e2e 100644 Binary files a/tests/ast-parsing/compile/modifier-all.sol-0.4.25-compact.zip and b/tests/ast-parsing/compile/modifier-all.sol-0.4.25-compact.zip differ diff --git a/tests/ast-parsing/compile/modifier-all.sol-0.4.25-legacy.zip b/tests/ast-parsing/compile/modifier-all.sol-0.4.25-legacy.zip index fc9d9d792..cb8cfb064 100644 Binary files a/tests/ast-parsing/compile/modifier-all.sol-0.4.25-legacy.zip and b/tests/ast-parsing/compile/modifier-all.sol-0.4.25-legacy.zip differ diff --git a/tests/ast-parsing/compile/modifier-all.sol-0.4.26-compact.zip b/tests/ast-parsing/compile/modifier-all.sol-0.4.26-compact.zip index d46b4535b..33c4637d4 100644 Binary files a/tests/ast-parsing/compile/modifier-all.sol-0.4.26-compact.zip and b/tests/ast-parsing/compile/modifier-all.sol-0.4.26-compact.zip differ diff --git a/tests/ast-parsing/compile/modifier-all.sol-0.4.26-legacy.zip b/tests/ast-parsing/compile/modifier-all.sol-0.4.26-legacy.zip index 167c10fb1..426d2c8c4 100644 Binary files a/tests/ast-parsing/compile/modifier-all.sol-0.4.26-legacy.zip and b/tests/ast-parsing/compile/modifier-all.sol-0.4.26-legacy.zip differ diff --git a/tests/ast-parsing/compile/modifier-all.sol-0.4.3-compact.zip b/tests/ast-parsing/compile/modifier-all.sol-0.4.3-compact.zip index b19bf3a39..a1086e508 100644 Binary files a/tests/ast-parsing/compile/modifier-all.sol-0.4.3-compact.zip and b/tests/ast-parsing/compile/modifier-all.sol-0.4.3-compact.zip differ diff --git a/tests/ast-parsing/compile/modifier-all.sol-0.4.3-legacy.zip b/tests/ast-parsing/compile/modifier-all.sol-0.4.3-legacy.zip index 14e02b8c2..66a2c1e66 100644 Binary files a/tests/ast-parsing/compile/modifier-all.sol-0.4.3-legacy.zip and b/tests/ast-parsing/compile/modifier-all.sol-0.4.3-legacy.zip differ diff --git a/tests/ast-parsing/compile/modifier-all.sol-0.4.4-compact.zip b/tests/ast-parsing/compile/modifier-all.sol-0.4.4-compact.zip index 842c67c65..ca622d7f7 100644 Binary files a/tests/ast-parsing/compile/modifier-all.sol-0.4.4-compact.zip and b/tests/ast-parsing/compile/modifier-all.sol-0.4.4-compact.zip differ diff --git a/tests/ast-parsing/compile/modifier-all.sol-0.4.4-legacy.zip b/tests/ast-parsing/compile/modifier-all.sol-0.4.4-legacy.zip index 560ee388b..380b08cfc 100644 Binary files a/tests/ast-parsing/compile/modifier-all.sol-0.4.4-legacy.zip and b/tests/ast-parsing/compile/modifier-all.sol-0.4.4-legacy.zip differ diff --git a/tests/ast-parsing/compile/modifier-all.sol-0.4.5-compact.zip b/tests/ast-parsing/compile/modifier-all.sol-0.4.5-compact.zip index 44f3dac3f..f19c5297d 100644 Binary files a/tests/ast-parsing/compile/modifier-all.sol-0.4.5-compact.zip and b/tests/ast-parsing/compile/modifier-all.sol-0.4.5-compact.zip differ diff --git a/tests/ast-parsing/compile/modifier-all.sol-0.4.5-legacy.zip b/tests/ast-parsing/compile/modifier-all.sol-0.4.5-legacy.zip index 6c909e4f2..0c3808e7f 100644 Binary files a/tests/ast-parsing/compile/modifier-all.sol-0.4.5-legacy.zip and b/tests/ast-parsing/compile/modifier-all.sol-0.4.5-legacy.zip differ diff --git a/tests/ast-parsing/compile/modifier-all.sol-0.4.6-compact.zip b/tests/ast-parsing/compile/modifier-all.sol-0.4.6-compact.zip index f4407df85..ca3a1023f 100644 Binary files a/tests/ast-parsing/compile/modifier-all.sol-0.4.6-compact.zip and b/tests/ast-parsing/compile/modifier-all.sol-0.4.6-compact.zip differ diff --git a/tests/ast-parsing/compile/modifier-all.sol-0.4.6-legacy.zip b/tests/ast-parsing/compile/modifier-all.sol-0.4.6-legacy.zip index 8164be969..886617fd8 100644 Binary files a/tests/ast-parsing/compile/modifier-all.sol-0.4.6-legacy.zip and b/tests/ast-parsing/compile/modifier-all.sol-0.4.6-legacy.zip differ diff --git a/tests/ast-parsing/compile/modifier-all.sol-0.4.7-compact.zip b/tests/ast-parsing/compile/modifier-all.sol-0.4.7-compact.zip index 6f439ed9e..081953928 100644 Binary files a/tests/ast-parsing/compile/modifier-all.sol-0.4.7-compact.zip and b/tests/ast-parsing/compile/modifier-all.sol-0.4.7-compact.zip differ diff --git a/tests/ast-parsing/compile/modifier-all.sol-0.4.7-legacy.zip b/tests/ast-parsing/compile/modifier-all.sol-0.4.7-legacy.zip index ed1708f04..f5374b523 100644 Binary files a/tests/ast-parsing/compile/modifier-all.sol-0.4.7-legacy.zip and b/tests/ast-parsing/compile/modifier-all.sol-0.4.7-legacy.zip differ diff --git a/tests/ast-parsing/compile/modifier-all.sol-0.4.8-compact.zip b/tests/ast-parsing/compile/modifier-all.sol-0.4.8-compact.zip index 46807909d..ad369947e 100644 Binary files a/tests/ast-parsing/compile/modifier-all.sol-0.4.8-compact.zip and b/tests/ast-parsing/compile/modifier-all.sol-0.4.8-compact.zip differ diff --git a/tests/ast-parsing/compile/modifier-all.sol-0.4.8-legacy.zip b/tests/ast-parsing/compile/modifier-all.sol-0.4.8-legacy.zip index f90a3f74b..91de2e82a 100644 Binary files a/tests/ast-parsing/compile/modifier-all.sol-0.4.8-legacy.zip and b/tests/ast-parsing/compile/modifier-all.sol-0.4.8-legacy.zip differ diff --git a/tests/ast-parsing/compile/modifier-all.sol-0.4.9-compact.zip b/tests/ast-parsing/compile/modifier-all.sol-0.4.9-compact.zip index b735fe419..2646618af 100644 Binary files a/tests/ast-parsing/compile/modifier-all.sol-0.4.9-compact.zip and b/tests/ast-parsing/compile/modifier-all.sol-0.4.9-compact.zip differ diff --git a/tests/ast-parsing/compile/modifier-all.sol-0.4.9-legacy.zip b/tests/ast-parsing/compile/modifier-all.sol-0.4.9-legacy.zip index b735fe419..2646618af 100644 Binary files a/tests/ast-parsing/compile/modifier-all.sol-0.4.9-legacy.zip and b/tests/ast-parsing/compile/modifier-all.sol-0.4.9-legacy.zip differ diff --git a/tests/ast-parsing/compile/modifier-all.sol-0.5.0-compact.zip b/tests/ast-parsing/compile/modifier-all.sol-0.5.0-compact.zip index 75023f81a..e4ba62b56 100644 Binary files a/tests/ast-parsing/compile/modifier-all.sol-0.5.0-compact.zip and b/tests/ast-parsing/compile/modifier-all.sol-0.5.0-compact.zip differ diff --git a/tests/ast-parsing/compile/modifier-all.sol-0.5.0-legacy.zip b/tests/ast-parsing/compile/modifier-all.sol-0.5.0-legacy.zip index da4e7d59a..37484452a 100644 Binary files a/tests/ast-parsing/compile/modifier-all.sol-0.5.0-legacy.zip and b/tests/ast-parsing/compile/modifier-all.sol-0.5.0-legacy.zip differ diff --git a/tests/ast-parsing/compile/modifier-all.sol-0.5.1-compact.zip b/tests/ast-parsing/compile/modifier-all.sol-0.5.1-compact.zip index 54dbdf88e..87ea809a4 100644 Binary files a/tests/ast-parsing/compile/modifier-all.sol-0.5.1-compact.zip and b/tests/ast-parsing/compile/modifier-all.sol-0.5.1-compact.zip differ diff --git a/tests/ast-parsing/compile/modifier-all.sol-0.5.1-legacy.zip b/tests/ast-parsing/compile/modifier-all.sol-0.5.1-legacy.zip index 5b2633e0e..af5d001c3 100644 Binary files a/tests/ast-parsing/compile/modifier-all.sol-0.5.1-legacy.zip and b/tests/ast-parsing/compile/modifier-all.sol-0.5.1-legacy.zip differ diff --git a/tests/ast-parsing/compile/modifier-all.sol-0.5.10-compact.zip b/tests/ast-parsing/compile/modifier-all.sol-0.5.10-compact.zip index 22c051ae9..77d916a4b 100644 Binary files a/tests/ast-parsing/compile/modifier-all.sol-0.5.10-compact.zip and b/tests/ast-parsing/compile/modifier-all.sol-0.5.10-compact.zip differ diff --git a/tests/ast-parsing/compile/modifier-all.sol-0.5.10-legacy.zip b/tests/ast-parsing/compile/modifier-all.sol-0.5.10-legacy.zip index ee2390a86..0841d5658 100644 Binary files a/tests/ast-parsing/compile/modifier-all.sol-0.5.10-legacy.zip and b/tests/ast-parsing/compile/modifier-all.sol-0.5.10-legacy.zip differ diff --git a/tests/ast-parsing/compile/modifier-all.sol-0.5.11-compact.zip b/tests/ast-parsing/compile/modifier-all.sol-0.5.11-compact.zip index 97cb59479..d032f2b7a 100644 Binary files a/tests/ast-parsing/compile/modifier-all.sol-0.5.11-compact.zip and b/tests/ast-parsing/compile/modifier-all.sol-0.5.11-compact.zip differ diff --git a/tests/ast-parsing/compile/modifier-all.sol-0.5.11-legacy.zip b/tests/ast-parsing/compile/modifier-all.sol-0.5.11-legacy.zip index a7ce558d9..0d335e734 100644 Binary files a/tests/ast-parsing/compile/modifier-all.sol-0.5.11-legacy.zip and b/tests/ast-parsing/compile/modifier-all.sol-0.5.11-legacy.zip differ diff --git a/tests/ast-parsing/compile/modifier-all.sol-0.5.12-compact.zip b/tests/ast-parsing/compile/modifier-all.sol-0.5.12-compact.zip index 20896d7d4..5be174302 100644 Binary files a/tests/ast-parsing/compile/modifier-all.sol-0.5.12-compact.zip and b/tests/ast-parsing/compile/modifier-all.sol-0.5.12-compact.zip differ diff --git a/tests/ast-parsing/compile/modifier-all.sol-0.5.12-legacy.zip b/tests/ast-parsing/compile/modifier-all.sol-0.5.12-legacy.zip index 5ce65aeb8..8cab71b12 100644 Binary files a/tests/ast-parsing/compile/modifier-all.sol-0.5.12-legacy.zip and b/tests/ast-parsing/compile/modifier-all.sol-0.5.12-legacy.zip differ diff --git a/tests/ast-parsing/compile/modifier-all.sol-0.5.13-compact.zip b/tests/ast-parsing/compile/modifier-all.sol-0.5.13-compact.zip index 484e9fd8d..8d47c01ba 100644 Binary files a/tests/ast-parsing/compile/modifier-all.sol-0.5.13-compact.zip and b/tests/ast-parsing/compile/modifier-all.sol-0.5.13-compact.zip differ diff --git a/tests/ast-parsing/compile/modifier-all.sol-0.5.13-legacy.zip b/tests/ast-parsing/compile/modifier-all.sol-0.5.13-legacy.zip index e3bbd21f1..9d238eedd 100644 Binary files a/tests/ast-parsing/compile/modifier-all.sol-0.5.13-legacy.zip and b/tests/ast-parsing/compile/modifier-all.sol-0.5.13-legacy.zip differ diff --git a/tests/ast-parsing/compile/modifier-all.sol-0.5.14-compact.zip b/tests/ast-parsing/compile/modifier-all.sol-0.5.14-compact.zip index 10bbc7d75..ce2f2fee0 100644 Binary files a/tests/ast-parsing/compile/modifier-all.sol-0.5.14-compact.zip and b/tests/ast-parsing/compile/modifier-all.sol-0.5.14-compact.zip differ diff --git a/tests/ast-parsing/compile/modifier-all.sol-0.5.14-legacy.zip b/tests/ast-parsing/compile/modifier-all.sol-0.5.14-legacy.zip index d0125916c..a19d27957 100644 Binary files a/tests/ast-parsing/compile/modifier-all.sol-0.5.14-legacy.zip and b/tests/ast-parsing/compile/modifier-all.sol-0.5.14-legacy.zip differ diff --git a/tests/ast-parsing/compile/modifier-all.sol-0.5.15-compact.zip b/tests/ast-parsing/compile/modifier-all.sol-0.5.15-compact.zip index 263785eb5..1cdc76aa5 100644 Binary files a/tests/ast-parsing/compile/modifier-all.sol-0.5.15-compact.zip and b/tests/ast-parsing/compile/modifier-all.sol-0.5.15-compact.zip differ diff --git a/tests/ast-parsing/compile/modifier-all.sol-0.5.15-legacy.zip b/tests/ast-parsing/compile/modifier-all.sol-0.5.15-legacy.zip index 27f726f89..1bb72e452 100644 Binary files a/tests/ast-parsing/compile/modifier-all.sol-0.5.15-legacy.zip and b/tests/ast-parsing/compile/modifier-all.sol-0.5.15-legacy.zip differ diff --git a/tests/ast-parsing/compile/modifier-all.sol-0.5.16-compact.zip b/tests/ast-parsing/compile/modifier-all.sol-0.5.16-compact.zip index 9dba82dfe..d1b0b62b7 100644 Binary files a/tests/ast-parsing/compile/modifier-all.sol-0.5.16-compact.zip and b/tests/ast-parsing/compile/modifier-all.sol-0.5.16-compact.zip differ diff --git a/tests/ast-parsing/compile/modifier-all.sol-0.5.16-legacy.zip b/tests/ast-parsing/compile/modifier-all.sol-0.5.16-legacy.zip index 7d72a38b3..689a5c537 100644 Binary files a/tests/ast-parsing/compile/modifier-all.sol-0.5.16-legacy.zip and b/tests/ast-parsing/compile/modifier-all.sol-0.5.16-legacy.zip differ diff --git a/tests/ast-parsing/compile/modifier-all.sol-0.5.17-compact.zip b/tests/ast-parsing/compile/modifier-all.sol-0.5.17-compact.zip index ef73090bc..ff7a96a21 100644 Binary files a/tests/ast-parsing/compile/modifier-all.sol-0.5.17-compact.zip and b/tests/ast-parsing/compile/modifier-all.sol-0.5.17-compact.zip differ diff --git a/tests/ast-parsing/compile/modifier-all.sol-0.5.17-legacy.zip b/tests/ast-parsing/compile/modifier-all.sol-0.5.17-legacy.zip index 1c741923a..5ac31105d 100644 Binary files a/tests/ast-parsing/compile/modifier-all.sol-0.5.17-legacy.zip and b/tests/ast-parsing/compile/modifier-all.sol-0.5.17-legacy.zip differ diff --git a/tests/ast-parsing/compile/modifier-all.sol-0.5.2-compact.zip b/tests/ast-parsing/compile/modifier-all.sol-0.5.2-compact.zip index 74816482e..f7ab71d36 100644 Binary files a/tests/ast-parsing/compile/modifier-all.sol-0.5.2-compact.zip and b/tests/ast-parsing/compile/modifier-all.sol-0.5.2-compact.zip differ diff --git a/tests/ast-parsing/compile/modifier-all.sol-0.5.2-legacy.zip b/tests/ast-parsing/compile/modifier-all.sol-0.5.2-legacy.zip index 05bd06b7c..edd73a4f2 100644 Binary files a/tests/ast-parsing/compile/modifier-all.sol-0.5.2-legacy.zip and b/tests/ast-parsing/compile/modifier-all.sol-0.5.2-legacy.zip differ diff --git a/tests/ast-parsing/compile/modifier-all.sol-0.5.3-compact.zip b/tests/ast-parsing/compile/modifier-all.sol-0.5.3-compact.zip index 11a20496d..adc49dd65 100644 Binary files a/tests/ast-parsing/compile/modifier-all.sol-0.5.3-compact.zip and b/tests/ast-parsing/compile/modifier-all.sol-0.5.3-compact.zip differ diff --git a/tests/ast-parsing/compile/modifier-all.sol-0.5.3-legacy.zip b/tests/ast-parsing/compile/modifier-all.sol-0.5.3-legacy.zip index 057444fbd..2d796d9d2 100644 Binary files a/tests/ast-parsing/compile/modifier-all.sol-0.5.3-legacy.zip and b/tests/ast-parsing/compile/modifier-all.sol-0.5.3-legacy.zip differ diff --git a/tests/ast-parsing/compile/modifier-all.sol-0.5.4-compact.zip b/tests/ast-parsing/compile/modifier-all.sol-0.5.4-compact.zip index a54f0cb10..9e67e1ca4 100644 Binary files a/tests/ast-parsing/compile/modifier-all.sol-0.5.4-compact.zip and b/tests/ast-parsing/compile/modifier-all.sol-0.5.4-compact.zip differ diff --git a/tests/ast-parsing/compile/modifier-all.sol-0.5.4-legacy.zip b/tests/ast-parsing/compile/modifier-all.sol-0.5.4-legacy.zip index 999da3b11..b3155aa1e 100644 Binary files a/tests/ast-parsing/compile/modifier-all.sol-0.5.4-legacy.zip and b/tests/ast-parsing/compile/modifier-all.sol-0.5.4-legacy.zip differ diff --git a/tests/ast-parsing/compile/modifier-all.sol-0.5.5-compact.zip b/tests/ast-parsing/compile/modifier-all.sol-0.5.5-compact.zip index 8ed211536..161c2c949 100644 Binary files a/tests/ast-parsing/compile/modifier-all.sol-0.5.5-compact.zip and b/tests/ast-parsing/compile/modifier-all.sol-0.5.5-compact.zip differ diff --git a/tests/ast-parsing/compile/modifier-all.sol-0.5.5-legacy.zip b/tests/ast-parsing/compile/modifier-all.sol-0.5.5-legacy.zip index e59d05a61..a48e14e83 100644 Binary files a/tests/ast-parsing/compile/modifier-all.sol-0.5.5-legacy.zip and b/tests/ast-parsing/compile/modifier-all.sol-0.5.5-legacy.zip differ diff --git a/tests/ast-parsing/compile/modifier-all.sol-0.5.6-compact.zip b/tests/ast-parsing/compile/modifier-all.sol-0.5.6-compact.zip index 5a58463bf..ab38ddb1b 100644 Binary files a/tests/ast-parsing/compile/modifier-all.sol-0.5.6-compact.zip and b/tests/ast-parsing/compile/modifier-all.sol-0.5.6-compact.zip differ diff --git a/tests/ast-parsing/compile/modifier-all.sol-0.5.6-legacy.zip b/tests/ast-parsing/compile/modifier-all.sol-0.5.6-legacy.zip index 83de17a29..859da901f 100644 Binary files a/tests/ast-parsing/compile/modifier-all.sol-0.5.6-legacy.zip and b/tests/ast-parsing/compile/modifier-all.sol-0.5.6-legacy.zip differ diff --git a/tests/ast-parsing/compile/modifier-all.sol-0.5.7-compact.zip b/tests/ast-parsing/compile/modifier-all.sol-0.5.7-compact.zip index 7614bb79e..6c6c20763 100644 Binary files a/tests/ast-parsing/compile/modifier-all.sol-0.5.7-compact.zip and b/tests/ast-parsing/compile/modifier-all.sol-0.5.7-compact.zip differ diff --git a/tests/ast-parsing/compile/modifier-all.sol-0.5.7-legacy.zip b/tests/ast-parsing/compile/modifier-all.sol-0.5.7-legacy.zip index 987af0e38..766b7c3ce 100644 Binary files a/tests/ast-parsing/compile/modifier-all.sol-0.5.7-legacy.zip and b/tests/ast-parsing/compile/modifier-all.sol-0.5.7-legacy.zip differ diff --git a/tests/ast-parsing/compile/modifier-all.sol-0.5.8-compact.zip b/tests/ast-parsing/compile/modifier-all.sol-0.5.8-compact.zip index 7cf133ae4..71684668d 100644 Binary files a/tests/ast-parsing/compile/modifier-all.sol-0.5.8-compact.zip and b/tests/ast-parsing/compile/modifier-all.sol-0.5.8-compact.zip differ diff --git a/tests/ast-parsing/compile/modifier-all.sol-0.5.8-legacy.zip b/tests/ast-parsing/compile/modifier-all.sol-0.5.8-legacy.zip index 241d8b445..81f0cf7bc 100644 Binary files a/tests/ast-parsing/compile/modifier-all.sol-0.5.8-legacy.zip and b/tests/ast-parsing/compile/modifier-all.sol-0.5.8-legacy.zip differ diff --git a/tests/ast-parsing/compile/modifier-all.sol-0.5.9-compact.zip b/tests/ast-parsing/compile/modifier-all.sol-0.5.9-compact.zip index c57077d1d..1bf4d20c7 100644 Binary files a/tests/ast-parsing/compile/modifier-all.sol-0.5.9-compact.zip and b/tests/ast-parsing/compile/modifier-all.sol-0.5.9-compact.zip differ diff --git a/tests/ast-parsing/compile/modifier-all.sol-0.5.9-legacy.zip b/tests/ast-parsing/compile/modifier-all.sol-0.5.9-legacy.zip index ea69f7fbf..a0b755b69 100644 Binary files a/tests/ast-parsing/compile/modifier-all.sol-0.5.9-legacy.zip and b/tests/ast-parsing/compile/modifier-all.sol-0.5.9-legacy.zip differ diff --git a/tests/ast-parsing/compile/modifier-all.sol-0.6.0-compact.zip b/tests/ast-parsing/compile/modifier-all.sol-0.6.0-compact.zip index 2decd51e2..ef0921946 100644 Binary files a/tests/ast-parsing/compile/modifier-all.sol-0.6.0-compact.zip and b/tests/ast-parsing/compile/modifier-all.sol-0.6.0-compact.zip differ diff --git a/tests/ast-parsing/compile/modifier-all.sol-0.6.0-legacy.zip b/tests/ast-parsing/compile/modifier-all.sol-0.6.0-legacy.zip index d4ed5b8d1..8cc3597bb 100644 Binary files a/tests/ast-parsing/compile/modifier-all.sol-0.6.0-legacy.zip and b/tests/ast-parsing/compile/modifier-all.sol-0.6.0-legacy.zip differ diff --git a/tests/ast-parsing/compile/modifier-all.sol-0.6.1-compact.zip b/tests/ast-parsing/compile/modifier-all.sol-0.6.1-compact.zip index a0b337bc6..0eb1ab76c 100644 Binary files a/tests/ast-parsing/compile/modifier-all.sol-0.6.1-compact.zip and b/tests/ast-parsing/compile/modifier-all.sol-0.6.1-compact.zip differ diff --git a/tests/ast-parsing/compile/modifier-all.sol-0.6.1-legacy.zip b/tests/ast-parsing/compile/modifier-all.sol-0.6.1-legacy.zip index 50513f8a1..fe374bfc8 100644 Binary files a/tests/ast-parsing/compile/modifier-all.sol-0.6.1-legacy.zip and b/tests/ast-parsing/compile/modifier-all.sol-0.6.1-legacy.zip differ diff --git a/tests/ast-parsing/compile/modifier-all.sol-0.6.10-compact.zip b/tests/ast-parsing/compile/modifier-all.sol-0.6.10-compact.zip index 12fcd3893..a3242275a 100644 Binary files a/tests/ast-parsing/compile/modifier-all.sol-0.6.10-compact.zip and b/tests/ast-parsing/compile/modifier-all.sol-0.6.10-compact.zip differ diff --git a/tests/ast-parsing/compile/modifier-all.sol-0.6.10-legacy.zip b/tests/ast-parsing/compile/modifier-all.sol-0.6.10-legacy.zip index 99ec8d204..0d32b9295 100644 Binary files a/tests/ast-parsing/compile/modifier-all.sol-0.6.10-legacy.zip and b/tests/ast-parsing/compile/modifier-all.sol-0.6.10-legacy.zip differ diff --git a/tests/ast-parsing/compile/modifier-all.sol-0.6.11-compact.zip b/tests/ast-parsing/compile/modifier-all.sol-0.6.11-compact.zip index daf0b8f25..f451b3b4c 100644 Binary files a/tests/ast-parsing/compile/modifier-all.sol-0.6.11-compact.zip and b/tests/ast-parsing/compile/modifier-all.sol-0.6.11-compact.zip differ diff --git a/tests/ast-parsing/compile/modifier-all.sol-0.6.11-legacy.zip b/tests/ast-parsing/compile/modifier-all.sol-0.6.11-legacy.zip index b59a21cdc..ec059f545 100644 Binary files a/tests/ast-parsing/compile/modifier-all.sol-0.6.11-legacy.zip and b/tests/ast-parsing/compile/modifier-all.sol-0.6.11-legacy.zip differ diff --git a/tests/ast-parsing/compile/modifier-all.sol-0.6.12-compact.zip b/tests/ast-parsing/compile/modifier-all.sol-0.6.12-compact.zip index 5b146bee6..6c3f55506 100644 Binary files a/tests/ast-parsing/compile/modifier-all.sol-0.6.12-compact.zip and b/tests/ast-parsing/compile/modifier-all.sol-0.6.12-compact.zip differ diff --git a/tests/ast-parsing/compile/modifier-all.sol-0.6.12-legacy.zip b/tests/ast-parsing/compile/modifier-all.sol-0.6.12-legacy.zip index 5b4e598e3..660fee4d8 100644 Binary files a/tests/ast-parsing/compile/modifier-all.sol-0.6.12-legacy.zip and b/tests/ast-parsing/compile/modifier-all.sol-0.6.12-legacy.zip differ diff --git a/tests/ast-parsing/compile/modifier-all.sol-0.6.2-compact.zip b/tests/ast-parsing/compile/modifier-all.sol-0.6.2-compact.zip index 25b265f54..c8505fd5e 100644 Binary files a/tests/ast-parsing/compile/modifier-all.sol-0.6.2-compact.zip and b/tests/ast-parsing/compile/modifier-all.sol-0.6.2-compact.zip differ diff --git a/tests/ast-parsing/compile/modifier-all.sol-0.6.2-legacy.zip b/tests/ast-parsing/compile/modifier-all.sol-0.6.2-legacy.zip index a3591a1f0..5bb2253c7 100644 Binary files a/tests/ast-parsing/compile/modifier-all.sol-0.6.2-legacy.zip and b/tests/ast-parsing/compile/modifier-all.sol-0.6.2-legacy.zip differ diff --git a/tests/ast-parsing/compile/modifier-all.sol-0.6.3-compact.zip b/tests/ast-parsing/compile/modifier-all.sol-0.6.3-compact.zip index 29f4032aa..d69bb15d1 100644 Binary files a/tests/ast-parsing/compile/modifier-all.sol-0.6.3-compact.zip and b/tests/ast-parsing/compile/modifier-all.sol-0.6.3-compact.zip differ diff --git a/tests/ast-parsing/compile/modifier-all.sol-0.6.3-legacy.zip b/tests/ast-parsing/compile/modifier-all.sol-0.6.3-legacy.zip index 960422bd5..cb0ed5559 100644 Binary files a/tests/ast-parsing/compile/modifier-all.sol-0.6.3-legacy.zip and b/tests/ast-parsing/compile/modifier-all.sol-0.6.3-legacy.zip differ diff --git a/tests/ast-parsing/compile/modifier-all.sol-0.6.4-compact.zip b/tests/ast-parsing/compile/modifier-all.sol-0.6.4-compact.zip index d236e34ca..9324b2642 100644 Binary files a/tests/ast-parsing/compile/modifier-all.sol-0.6.4-compact.zip and b/tests/ast-parsing/compile/modifier-all.sol-0.6.4-compact.zip differ diff --git a/tests/ast-parsing/compile/modifier-all.sol-0.6.4-legacy.zip b/tests/ast-parsing/compile/modifier-all.sol-0.6.4-legacy.zip index 28f2a0b1f..7e2fab9ca 100644 Binary files a/tests/ast-parsing/compile/modifier-all.sol-0.6.4-legacy.zip and b/tests/ast-parsing/compile/modifier-all.sol-0.6.4-legacy.zip differ diff --git a/tests/ast-parsing/compile/modifier-all.sol-0.6.5-compact.zip b/tests/ast-parsing/compile/modifier-all.sol-0.6.5-compact.zip index ea316dc6b..475877da5 100644 Binary files a/tests/ast-parsing/compile/modifier-all.sol-0.6.5-compact.zip and b/tests/ast-parsing/compile/modifier-all.sol-0.6.5-compact.zip differ diff --git a/tests/ast-parsing/compile/modifier-all.sol-0.6.5-legacy.zip b/tests/ast-parsing/compile/modifier-all.sol-0.6.5-legacy.zip index cee34d9e5..2f7403ebb 100644 Binary files a/tests/ast-parsing/compile/modifier-all.sol-0.6.5-legacy.zip and b/tests/ast-parsing/compile/modifier-all.sol-0.6.5-legacy.zip differ diff --git a/tests/ast-parsing/compile/modifier-all.sol-0.6.6-compact.zip b/tests/ast-parsing/compile/modifier-all.sol-0.6.6-compact.zip index 2a1cfe4a7..a1d38344e 100644 Binary files a/tests/ast-parsing/compile/modifier-all.sol-0.6.6-compact.zip and b/tests/ast-parsing/compile/modifier-all.sol-0.6.6-compact.zip differ diff --git a/tests/ast-parsing/compile/modifier-all.sol-0.6.6-legacy.zip b/tests/ast-parsing/compile/modifier-all.sol-0.6.6-legacy.zip index 7e229b641..1c1675d37 100644 Binary files a/tests/ast-parsing/compile/modifier-all.sol-0.6.6-legacy.zip and b/tests/ast-parsing/compile/modifier-all.sol-0.6.6-legacy.zip differ diff --git a/tests/ast-parsing/compile/modifier-all.sol-0.6.7-compact.zip b/tests/ast-parsing/compile/modifier-all.sol-0.6.7-compact.zip index 530bb433e..0ee4e9521 100644 Binary files a/tests/ast-parsing/compile/modifier-all.sol-0.6.7-compact.zip and b/tests/ast-parsing/compile/modifier-all.sol-0.6.7-compact.zip differ diff --git a/tests/ast-parsing/compile/modifier-all.sol-0.6.7-legacy.zip b/tests/ast-parsing/compile/modifier-all.sol-0.6.7-legacy.zip index ed0510517..a58bb7027 100644 Binary files a/tests/ast-parsing/compile/modifier-all.sol-0.6.7-legacy.zip and b/tests/ast-parsing/compile/modifier-all.sol-0.6.7-legacy.zip differ diff --git a/tests/ast-parsing/compile/modifier-all.sol-0.6.8-compact.zip b/tests/ast-parsing/compile/modifier-all.sol-0.6.8-compact.zip index 23aea0c75..cd1f9b9e6 100644 Binary files a/tests/ast-parsing/compile/modifier-all.sol-0.6.8-compact.zip and b/tests/ast-parsing/compile/modifier-all.sol-0.6.8-compact.zip differ diff --git a/tests/ast-parsing/compile/modifier-all.sol-0.6.8-legacy.zip b/tests/ast-parsing/compile/modifier-all.sol-0.6.8-legacy.zip index 56013943e..9366754ec 100644 Binary files a/tests/ast-parsing/compile/modifier-all.sol-0.6.8-legacy.zip and b/tests/ast-parsing/compile/modifier-all.sol-0.6.8-legacy.zip differ diff --git a/tests/ast-parsing/compile/modifier-all.sol-0.6.9-compact.zip b/tests/ast-parsing/compile/modifier-all.sol-0.6.9-compact.zip index 7b9a86ea9..5076082d6 100644 Binary files a/tests/ast-parsing/compile/modifier-all.sol-0.6.9-compact.zip and b/tests/ast-parsing/compile/modifier-all.sol-0.6.9-compact.zip differ diff --git a/tests/ast-parsing/compile/modifier-all.sol-0.6.9-legacy.zip b/tests/ast-parsing/compile/modifier-all.sol-0.6.9-legacy.zip index f6151d928..f91f96d4e 100644 Binary files a/tests/ast-parsing/compile/modifier-all.sol-0.6.9-legacy.zip and b/tests/ast-parsing/compile/modifier-all.sol-0.6.9-legacy.zip differ diff --git a/tests/ast-parsing/compile/modifier-all.sol-0.7.0-compact.zip b/tests/ast-parsing/compile/modifier-all.sol-0.7.0-compact.zip deleted file mode 100644 index cfdc87ec0..000000000 Binary files a/tests/ast-parsing/compile/modifier-all.sol-0.7.0-compact.zip and /dev/null differ diff --git a/tests/ast-parsing/compile/modifier-all.sol-0.7.0-legacy.zip b/tests/ast-parsing/compile/modifier-all.sol-0.7.0-legacy.zip deleted file mode 100644 index d1113027b..000000000 Binary files a/tests/ast-parsing/compile/modifier-all.sol-0.7.0-legacy.zip and /dev/null differ diff --git a/tests/ast-parsing/compile/modifier-all.sol-0.7.1-compact.zip b/tests/ast-parsing/compile/modifier-all.sol-0.7.1-compact.zip deleted file mode 100644 index b0995d507..000000000 Binary files a/tests/ast-parsing/compile/modifier-all.sol-0.7.1-compact.zip and /dev/null differ diff --git a/tests/ast-parsing/compile/modifier-all.sol-0.7.1-legacy.zip b/tests/ast-parsing/compile/modifier-all.sol-0.7.1-legacy.zip deleted file mode 100644 index 377809f67..000000000 Binary files a/tests/ast-parsing/compile/modifier-all.sol-0.7.1-legacy.zip and /dev/null differ diff --git a/tests/ast-parsing/compile/modifier-all.sol-0.7.2-compact.zip b/tests/ast-parsing/compile/modifier-all.sol-0.7.2-compact.zip deleted file mode 100644 index 4117212da..000000000 Binary files a/tests/ast-parsing/compile/modifier-all.sol-0.7.2-compact.zip and /dev/null differ diff --git a/tests/ast-parsing/compile/modifier-all.sol-0.7.2-legacy.zip b/tests/ast-parsing/compile/modifier-all.sol-0.7.2-legacy.zip deleted file mode 100644 index 3dc1958e1..000000000 Binary files a/tests/ast-parsing/compile/modifier-all.sol-0.7.2-legacy.zip and /dev/null differ diff --git a/tests/ast-parsing/compile/modifier-all.sol-0.7.3-compact.zip b/tests/ast-parsing/compile/modifier-all.sol-0.7.3-compact.zip deleted file mode 100644 index fc3c697b1..000000000 Binary files a/tests/ast-parsing/compile/modifier-all.sol-0.7.3-compact.zip and /dev/null differ diff --git a/tests/ast-parsing/compile/modifier-all.sol-0.7.3-legacy.zip b/tests/ast-parsing/compile/modifier-all.sol-0.7.3-legacy.zip deleted file mode 100644 index 1936c5cf4..000000000 Binary files a/tests/ast-parsing/compile/modifier-all.sol-0.7.3-legacy.zip and /dev/null differ diff --git a/tests/ast-parsing/compile/modifier-all.sol-0.7.4-compact.zip b/tests/ast-parsing/compile/modifier-all.sol-0.7.4-compact.zip deleted file mode 100644 index 819497795..000000000 Binary files a/tests/ast-parsing/compile/modifier-all.sol-0.7.4-compact.zip and /dev/null differ diff --git a/tests/ast-parsing/compile/modifier-all.sol-0.7.4-legacy.zip b/tests/ast-parsing/compile/modifier-all.sol-0.7.4-legacy.zip deleted file mode 100644 index f7c156912..000000000 Binary files a/tests/ast-parsing/compile/modifier-all.sol-0.7.4-legacy.zip and /dev/null differ diff --git a/tests/ast-parsing/compile/modifier-all.sol-0.7.5-compact.zip b/tests/ast-parsing/compile/modifier-all.sol-0.7.5-compact.zip deleted file mode 100644 index 45075e0bf..000000000 Binary files a/tests/ast-parsing/compile/modifier-all.sol-0.7.5-compact.zip and /dev/null differ diff --git a/tests/ast-parsing/compile/modifier-all.sol-0.7.5-legacy.zip b/tests/ast-parsing/compile/modifier-all.sol-0.7.5-legacy.zip deleted file mode 100644 index 971fae4d2..000000000 Binary files a/tests/ast-parsing/compile/modifier-all.sol-0.7.5-legacy.zip and /dev/null differ diff --git a/tests/ast-parsing/compile/modifier-all.sol-0.7.6-compact.zip b/tests/ast-parsing/compile/modifier-all.sol-0.7.6-compact.zip deleted file mode 100644 index 18d13d738..000000000 Binary files a/tests/ast-parsing/compile/modifier-all.sol-0.7.6-compact.zip and /dev/null differ diff --git a/tests/ast-parsing/compile/modifier-all.sol-0.7.6-legacy.zip b/tests/ast-parsing/compile/modifier-all.sol-0.7.6-legacy.zip deleted file mode 100644 index 6b4142f33..000000000 Binary files a/tests/ast-parsing/compile/modifier-all.sol-0.7.6-legacy.zip and /dev/null differ diff --git a/tests/ast-parsing/compile/modifier-all.sol-0.8.0-compact.zip b/tests/ast-parsing/compile/modifier-all.sol-0.8.0-compact.zip deleted file mode 100644 index 52deeb8f5..000000000 Binary files a/tests/ast-parsing/compile/modifier-all.sol-0.8.0-compact.zip and /dev/null differ diff --git a/tests/ast-parsing/compile/modifier-all.sol-0.8.1-compact.zip b/tests/ast-parsing/compile/modifier-all.sol-0.8.1-compact.zip deleted file mode 100644 index 1f5cce5c6..000000000 Binary files a/tests/ast-parsing/compile/modifier-all.sol-0.8.1-compact.zip and /dev/null differ diff --git a/tests/ast-parsing/compile/modifier-all.sol-0.8.10-compact.zip b/tests/ast-parsing/compile/modifier-all.sol-0.8.10-compact.zip deleted file mode 100644 index 26ea5c5ad..000000000 Binary files a/tests/ast-parsing/compile/modifier-all.sol-0.8.10-compact.zip and /dev/null differ diff --git a/tests/ast-parsing/compile/modifier-all.sol-0.8.11-compact.zip b/tests/ast-parsing/compile/modifier-all.sol-0.8.11-compact.zip deleted file mode 100644 index ff4b57bc4..000000000 Binary files a/tests/ast-parsing/compile/modifier-all.sol-0.8.11-compact.zip and /dev/null differ diff --git a/tests/ast-parsing/compile/modifier-all.sol-0.8.12-compact.zip b/tests/ast-parsing/compile/modifier-all.sol-0.8.12-compact.zip deleted file mode 100644 index 2d9ff7488..000000000 Binary files a/tests/ast-parsing/compile/modifier-all.sol-0.8.12-compact.zip and /dev/null differ diff --git a/tests/ast-parsing/compile/modifier-all.sol-0.8.13-compact.zip b/tests/ast-parsing/compile/modifier-all.sol-0.8.13-compact.zip deleted file mode 100644 index 7845c49f6..000000000 Binary files a/tests/ast-parsing/compile/modifier-all.sol-0.8.13-compact.zip and /dev/null differ diff --git a/tests/ast-parsing/compile/modifier-all.sol-0.8.14-compact.zip b/tests/ast-parsing/compile/modifier-all.sol-0.8.14-compact.zip deleted file mode 100644 index cdc342f12..000000000 Binary files a/tests/ast-parsing/compile/modifier-all.sol-0.8.14-compact.zip and /dev/null differ diff --git a/tests/ast-parsing/compile/modifier-all.sol-0.8.15-compact.zip b/tests/ast-parsing/compile/modifier-all.sol-0.8.15-compact.zip deleted file mode 100644 index d4d53a419..000000000 Binary files a/tests/ast-parsing/compile/modifier-all.sol-0.8.15-compact.zip and /dev/null differ diff --git a/tests/ast-parsing/compile/modifier-all.sol-0.8.2-compact.zip b/tests/ast-parsing/compile/modifier-all.sol-0.8.2-compact.zip deleted file mode 100644 index 0d7b98ce9..000000000 Binary files a/tests/ast-parsing/compile/modifier-all.sol-0.8.2-compact.zip and /dev/null differ diff --git a/tests/ast-parsing/compile/modifier-all.sol-0.8.3-compact.zip b/tests/ast-parsing/compile/modifier-all.sol-0.8.3-compact.zip deleted file mode 100644 index a1a5cb998..000000000 Binary files a/tests/ast-parsing/compile/modifier-all.sol-0.8.3-compact.zip and /dev/null differ diff --git a/tests/ast-parsing/compile/modifier-all.sol-0.8.4-compact.zip b/tests/ast-parsing/compile/modifier-all.sol-0.8.4-compact.zip deleted file mode 100644 index 33e6f9631..000000000 Binary files a/tests/ast-parsing/compile/modifier-all.sol-0.8.4-compact.zip and /dev/null differ diff --git a/tests/ast-parsing/compile/modifier-all.sol-0.8.5-compact.zip b/tests/ast-parsing/compile/modifier-all.sol-0.8.5-compact.zip deleted file mode 100644 index 6751bb8da..000000000 Binary files a/tests/ast-parsing/compile/modifier-all.sol-0.8.5-compact.zip and /dev/null differ diff --git a/tests/ast-parsing/compile/modifier-all.sol-0.8.6-compact.zip b/tests/ast-parsing/compile/modifier-all.sol-0.8.6-compact.zip deleted file mode 100644 index e6393db5c..000000000 Binary files a/tests/ast-parsing/compile/modifier-all.sol-0.8.6-compact.zip and /dev/null differ diff --git a/tests/ast-parsing/compile/modifier-all.sol-0.8.7-compact.zip b/tests/ast-parsing/compile/modifier-all.sol-0.8.7-compact.zip deleted file mode 100644 index ed7cbdfc8..000000000 Binary files a/tests/ast-parsing/compile/modifier-all.sol-0.8.7-compact.zip and /dev/null differ diff --git a/tests/ast-parsing/compile/modifier-all.sol-0.8.8-compact.zip b/tests/ast-parsing/compile/modifier-all.sol-0.8.8-compact.zip deleted file mode 100644 index 1e0c46509..000000000 Binary files a/tests/ast-parsing/compile/modifier-all.sol-0.8.8-compact.zip and /dev/null differ diff --git a/tests/ast-parsing/compile/modifier-all.sol-0.8.9-compact.zip b/tests/ast-parsing/compile/modifier-all.sol-0.8.9-compact.zip deleted file mode 100644 index 7c12e4259..000000000 Binary files a/tests/ast-parsing/compile/modifier-all.sol-0.8.9-compact.zip and /dev/null differ diff --git a/tests/ast-parsing/compile/modifier_identifier_path.sol-0.8.0-compact.zip b/tests/ast-parsing/compile/modifier_identifier_path.sol-0.8.0-compact.zip index f8a3c1a16..0a7a5738d 100644 Binary files a/tests/ast-parsing/compile/modifier_identifier_path.sol-0.8.0-compact.zip and b/tests/ast-parsing/compile/modifier_identifier_path.sol-0.8.0-compact.zip differ diff --git a/tests/ast-parsing/compile/modifier_identifier_path.sol-0.8.1-compact.zip b/tests/ast-parsing/compile/modifier_identifier_path.sol-0.8.1-compact.zip index cdb2a9daa..cefe498b5 100644 Binary files a/tests/ast-parsing/compile/modifier_identifier_path.sol-0.8.1-compact.zip and b/tests/ast-parsing/compile/modifier_identifier_path.sol-0.8.1-compact.zip differ diff --git a/tests/ast-parsing/compile/modifier_identifier_path.sol-0.8.10-compact.zip b/tests/ast-parsing/compile/modifier_identifier_path.sol-0.8.10-compact.zip index 5fb6cde6b..8dd173562 100644 Binary files a/tests/ast-parsing/compile/modifier_identifier_path.sol-0.8.10-compact.zip and b/tests/ast-parsing/compile/modifier_identifier_path.sol-0.8.10-compact.zip differ diff --git a/tests/ast-parsing/compile/modifier_identifier_path.sol-0.8.11-compact.zip b/tests/ast-parsing/compile/modifier_identifier_path.sol-0.8.11-compact.zip index adf9a336a..5b262c837 100644 Binary files a/tests/ast-parsing/compile/modifier_identifier_path.sol-0.8.11-compact.zip and b/tests/ast-parsing/compile/modifier_identifier_path.sol-0.8.11-compact.zip differ diff --git a/tests/ast-parsing/compile/modifier_identifier_path.sol-0.8.12-compact.zip b/tests/ast-parsing/compile/modifier_identifier_path.sol-0.8.12-compact.zip index 7e6e7a65f..6159756b9 100644 Binary files a/tests/ast-parsing/compile/modifier_identifier_path.sol-0.8.12-compact.zip and b/tests/ast-parsing/compile/modifier_identifier_path.sol-0.8.12-compact.zip differ diff --git a/tests/ast-parsing/compile/modifier_identifier_path.sol-0.8.13-compact.zip b/tests/ast-parsing/compile/modifier_identifier_path.sol-0.8.13-compact.zip index 47066aa8b..41d76763d 100644 Binary files a/tests/ast-parsing/compile/modifier_identifier_path.sol-0.8.13-compact.zip and b/tests/ast-parsing/compile/modifier_identifier_path.sol-0.8.13-compact.zip differ diff --git a/tests/ast-parsing/compile/modifier_identifier_path.sol-0.8.14-compact.zip b/tests/ast-parsing/compile/modifier_identifier_path.sol-0.8.14-compact.zip index 01de606fb..eac4ef5fe 100644 Binary files a/tests/ast-parsing/compile/modifier_identifier_path.sol-0.8.14-compact.zip and b/tests/ast-parsing/compile/modifier_identifier_path.sol-0.8.14-compact.zip differ diff --git a/tests/ast-parsing/compile/modifier_identifier_path.sol-0.8.15-compact.zip b/tests/ast-parsing/compile/modifier_identifier_path.sol-0.8.15-compact.zip index 233e4a87f..9db5d2399 100644 Binary files a/tests/ast-parsing/compile/modifier_identifier_path.sol-0.8.15-compact.zip and b/tests/ast-parsing/compile/modifier_identifier_path.sol-0.8.15-compact.zip differ diff --git a/tests/ast-parsing/compile/modifier_identifier_path.sol-0.8.2-compact.zip b/tests/ast-parsing/compile/modifier_identifier_path.sol-0.8.2-compact.zip index b5fea85ed..4cff0e904 100644 Binary files a/tests/ast-parsing/compile/modifier_identifier_path.sol-0.8.2-compact.zip and b/tests/ast-parsing/compile/modifier_identifier_path.sol-0.8.2-compact.zip differ diff --git a/tests/ast-parsing/compile/modifier_identifier_path.sol-0.8.3-compact.zip b/tests/ast-parsing/compile/modifier_identifier_path.sol-0.8.3-compact.zip index 728beb81f..c5b0b7f1a 100644 Binary files a/tests/ast-parsing/compile/modifier_identifier_path.sol-0.8.3-compact.zip and b/tests/ast-parsing/compile/modifier_identifier_path.sol-0.8.3-compact.zip differ diff --git a/tests/ast-parsing/compile/modifier_identifier_path.sol-0.8.4-compact.zip b/tests/ast-parsing/compile/modifier_identifier_path.sol-0.8.4-compact.zip index 1eb88493e..fb11df4ae 100644 Binary files a/tests/ast-parsing/compile/modifier_identifier_path.sol-0.8.4-compact.zip and b/tests/ast-parsing/compile/modifier_identifier_path.sol-0.8.4-compact.zip differ diff --git a/tests/ast-parsing/compile/modifier_identifier_path.sol-0.8.5-compact.zip b/tests/ast-parsing/compile/modifier_identifier_path.sol-0.8.5-compact.zip index 316ec5863..7418627bb 100644 Binary files a/tests/ast-parsing/compile/modifier_identifier_path.sol-0.8.5-compact.zip and b/tests/ast-parsing/compile/modifier_identifier_path.sol-0.8.5-compact.zip differ diff --git a/tests/ast-parsing/compile/modifier_identifier_path.sol-0.8.6-compact.zip b/tests/ast-parsing/compile/modifier_identifier_path.sol-0.8.6-compact.zip index 6fd91e0e7..b157c944e 100644 Binary files a/tests/ast-parsing/compile/modifier_identifier_path.sol-0.8.6-compact.zip and b/tests/ast-parsing/compile/modifier_identifier_path.sol-0.8.6-compact.zip differ diff --git a/tests/ast-parsing/compile/modifier_identifier_path.sol-0.8.7-compact.zip b/tests/ast-parsing/compile/modifier_identifier_path.sol-0.8.7-compact.zip index 041c5ea9e..a5d2432e0 100644 Binary files a/tests/ast-parsing/compile/modifier_identifier_path.sol-0.8.7-compact.zip and b/tests/ast-parsing/compile/modifier_identifier_path.sol-0.8.7-compact.zip differ diff --git a/tests/ast-parsing/compile/modifier_identifier_path.sol-0.8.8-compact.zip b/tests/ast-parsing/compile/modifier_identifier_path.sol-0.8.8-compact.zip index c132ab79a..495688081 100644 Binary files a/tests/ast-parsing/compile/modifier_identifier_path.sol-0.8.8-compact.zip and b/tests/ast-parsing/compile/modifier_identifier_path.sol-0.8.8-compact.zip differ diff --git a/tests/ast-parsing/compile/modifier_identifier_path.sol-0.8.9-compact.zip b/tests/ast-parsing/compile/modifier_identifier_path.sol-0.8.9-compact.zip index 1a06a3c57..7d915f29b 100644 Binary files a/tests/ast-parsing/compile/modifier_identifier_path.sol-0.8.9-compact.zip and b/tests/ast-parsing/compile/modifier_identifier_path.sol-0.8.9-compact.zip differ diff --git a/tests/ast-parsing/expected/modifier-0.7.0.sol-0.7.0-compact.json b/tests/ast-parsing/expected/modifier-0.7.0.sol-0.7.0-compact.json new file mode 100644 index 000000000..eaca6e24a --- /dev/null +++ b/tests/ast-parsing/expected/modifier-0.7.0.sol-0.7.0-compact.json @@ -0,0 +1,12 @@ +{ + "A": { + "f()": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n}\n", + "m()": "digraph{\n}\n" + }, + "C": { + "onePlaceholder()": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: _ 1\n\"];\n}\n", + "multiplePlaceholders()": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: _ 1\n\"];\n1->2;\n2[label=\"Node Type: _ 2\n\"];\n2->3;\n3[label=\"Node Type: _ 3\n\"];\n}\n", + "acceptsVar(uint256)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: _ 1\n\"];\n}\n", + "noParams()": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: _ 1\n\"];\n}\n" + } +} \ No newline at end of file diff --git a/tests/ast-parsing/expected/modifier-0.7.0.sol-0.7.0-legacy.json b/tests/ast-parsing/expected/modifier-0.7.0.sol-0.7.0-legacy.json new file mode 100644 index 000000000..eaca6e24a --- /dev/null +++ b/tests/ast-parsing/expected/modifier-0.7.0.sol-0.7.0-legacy.json @@ -0,0 +1,12 @@ +{ + "A": { + "f()": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n}\n", + "m()": "digraph{\n}\n" + }, + "C": { + "onePlaceholder()": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: _ 1\n\"];\n}\n", + "multiplePlaceholders()": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: _ 1\n\"];\n1->2;\n2[label=\"Node Type: _ 2\n\"];\n2->3;\n3[label=\"Node Type: _ 3\n\"];\n}\n", + "acceptsVar(uint256)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: _ 1\n\"];\n}\n", + "noParams()": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: _ 1\n\"];\n}\n" + } +} \ No newline at end of file diff --git a/tests/ast-parsing/expected/modifier-0.7.0.sol-0.7.1-compact.json b/tests/ast-parsing/expected/modifier-0.7.0.sol-0.7.1-compact.json new file mode 100644 index 000000000..eaca6e24a --- /dev/null +++ b/tests/ast-parsing/expected/modifier-0.7.0.sol-0.7.1-compact.json @@ -0,0 +1,12 @@ +{ + "A": { + "f()": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n}\n", + "m()": "digraph{\n}\n" + }, + "C": { + "onePlaceholder()": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: _ 1\n\"];\n}\n", + "multiplePlaceholders()": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: _ 1\n\"];\n1->2;\n2[label=\"Node Type: _ 2\n\"];\n2->3;\n3[label=\"Node Type: _ 3\n\"];\n}\n", + "acceptsVar(uint256)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: _ 1\n\"];\n}\n", + "noParams()": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: _ 1\n\"];\n}\n" + } +} \ No newline at end of file diff --git a/tests/ast-parsing/expected/modifier-0.7.0.sol-0.7.1-legacy.json b/tests/ast-parsing/expected/modifier-0.7.0.sol-0.7.1-legacy.json new file mode 100644 index 000000000..eaca6e24a --- /dev/null +++ b/tests/ast-parsing/expected/modifier-0.7.0.sol-0.7.1-legacy.json @@ -0,0 +1,12 @@ +{ + "A": { + "f()": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n}\n", + "m()": "digraph{\n}\n" + }, + "C": { + "onePlaceholder()": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: _ 1\n\"];\n}\n", + "multiplePlaceholders()": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: _ 1\n\"];\n1->2;\n2[label=\"Node Type: _ 2\n\"];\n2->3;\n3[label=\"Node Type: _ 3\n\"];\n}\n", + "acceptsVar(uint256)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: _ 1\n\"];\n}\n", + "noParams()": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: _ 1\n\"];\n}\n" + } +} \ No newline at end of file diff --git a/tests/ast-parsing/expected/modifier-0.7.0.sol-0.7.2-compact.json b/tests/ast-parsing/expected/modifier-0.7.0.sol-0.7.2-compact.json new file mode 100644 index 000000000..eaca6e24a --- /dev/null +++ b/tests/ast-parsing/expected/modifier-0.7.0.sol-0.7.2-compact.json @@ -0,0 +1,12 @@ +{ + "A": { + "f()": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n}\n", + "m()": "digraph{\n}\n" + }, + "C": { + "onePlaceholder()": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: _ 1\n\"];\n}\n", + "multiplePlaceholders()": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: _ 1\n\"];\n1->2;\n2[label=\"Node Type: _ 2\n\"];\n2->3;\n3[label=\"Node Type: _ 3\n\"];\n}\n", + "acceptsVar(uint256)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: _ 1\n\"];\n}\n", + "noParams()": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: _ 1\n\"];\n}\n" + } +} \ No newline at end of file diff --git a/tests/ast-parsing/expected/modifier-0.7.0.sol-0.7.2-legacy.json b/tests/ast-parsing/expected/modifier-0.7.0.sol-0.7.2-legacy.json new file mode 100644 index 000000000..eaca6e24a --- /dev/null +++ b/tests/ast-parsing/expected/modifier-0.7.0.sol-0.7.2-legacy.json @@ -0,0 +1,12 @@ +{ + "A": { + "f()": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n}\n", + "m()": "digraph{\n}\n" + }, + "C": { + "onePlaceholder()": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: _ 1\n\"];\n}\n", + "multiplePlaceholders()": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: _ 1\n\"];\n1->2;\n2[label=\"Node Type: _ 2\n\"];\n2->3;\n3[label=\"Node Type: _ 3\n\"];\n}\n", + "acceptsVar(uint256)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: _ 1\n\"];\n}\n", + "noParams()": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: _ 1\n\"];\n}\n" + } +} \ No newline at end of file diff --git a/tests/ast-parsing/expected/modifier-0.7.0.sol-0.7.3-compact.json b/tests/ast-parsing/expected/modifier-0.7.0.sol-0.7.3-compact.json new file mode 100644 index 000000000..eaca6e24a --- /dev/null +++ b/tests/ast-parsing/expected/modifier-0.7.0.sol-0.7.3-compact.json @@ -0,0 +1,12 @@ +{ + "A": { + "f()": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n}\n", + "m()": "digraph{\n}\n" + }, + "C": { + "onePlaceholder()": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: _ 1\n\"];\n}\n", + "multiplePlaceholders()": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: _ 1\n\"];\n1->2;\n2[label=\"Node Type: _ 2\n\"];\n2->3;\n3[label=\"Node Type: _ 3\n\"];\n}\n", + "acceptsVar(uint256)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: _ 1\n\"];\n}\n", + "noParams()": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: _ 1\n\"];\n}\n" + } +} \ No newline at end of file diff --git a/tests/ast-parsing/expected/modifier-0.7.0.sol-0.7.3-legacy.json b/tests/ast-parsing/expected/modifier-0.7.0.sol-0.7.3-legacy.json new file mode 100644 index 000000000..eaca6e24a --- /dev/null +++ b/tests/ast-parsing/expected/modifier-0.7.0.sol-0.7.3-legacy.json @@ -0,0 +1,12 @@ +{ + "A": { + "f()": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n}\n", + "m()": "digraph{\n}\n" + }, + "C": { + "onePlaceholder()": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: _ 1\n\"];\n}\n", + "multiplePlaceholders()": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: _ 1\n\"];\n1->2;\n2[label=\"Node Type: _ 2\n\"];\n2->3;\n3[label=\"Node Type: _ 3\n\"];\n}\n", + "acceptsVar(uint256)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: _ 1\n\"];\n}\n", + "noParams()": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: _ 1\n\"];\n}\n" + } +} \ No newline at end of file diff --git a/tests/ast-parsing/expected/modifier-0.7.0.sol-0.7.4-compact.json b/tests/ast-parsing/expected/modifier-0.7.0.sol-0.7.4-compact.json new file mode 100644 index 000000000..eaca6e24a --- /dev/null +++ b/tests/ast-parsing/expected/modifier-0.7.0.sol-0.7.4-compact.json @@ -0,0 +1,12 @@ +{ + "A": { + "f()": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n}\n", + "m()": "digraph{\n}\n" + }, + "C": { + "onePlaceholder()": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: _ 1\n\"];\n}\n", + "multiplePlaceholders()": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: _ 1\n\"];\n1->2;\n2[label=\"Node Type: _ 2\n\"];\n2->3;\n3[label=\"Node Type: _ 3\n\"];\n}\n", + "acceptsVar(uint256)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: _ 1\n\"];\n}\n", + "noParams()": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: _ 1\n\"];\n}\n" + } +} \ No newline at end of file diff --git a/tests/ast-parsing/expected/modifier-0.7.0.sol-0.7.4-legacy.json b/tests/ast-parsing/expected/modifier-0.7.0.sol-0.7.4-legacy.json new file mode 100644 index 000000000..eaca6e24a --- /dev/null +++ b/tests/ast-parsing/expected/modifier-0.7.0.sol-0.7.4-legacy.json @@ -0,0 +1,12 @@ +{ + "A": { + "f()": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n}\n", + "m()": "digraph{\n}\n" + }, + "C": { + "onePlaceholder()": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: _ 1\n\"];\n}\n", + "multiplePlaceholders()": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: _ 1\n\"];\n1->2;\n2[label=\"Node Type: _ 2\n\"];\n2->3;\n3[label=\"Node Type: _ 3\n\"];\n}\n", + "acceptsVar(uint256)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: _ 1\n\"];\n}\n", + "noParams()": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: _ 1\n\"];\n}\n" + } +} \ No newline at end of file diff --git a/tests/ast-parsing/expected/modifier-0.7.0.sol-0.7.5-compact.json b/tests/ast-parsing/expected/modifier-0.7.0.sol-0.7.5-compact.json new file mode 100644 index 000000000..eaca6e24a --- /dev/null +++ b/tests/ast-parsing/expected/modifier-0.7.0.sol-0.7.5-compact.json @@ -0,0 +1,12 @@ +{ + "A": { + "f()": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n}\n", + "m()": "digraph{\n}\n" + }, + "C": { + "onePlaceholder()": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: _ 1\n\"];\n}\n", + "multiplePlaceholders()": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: _ 1\n\"];\n1->2;\n2[label=\"Node Type: _ 2\n\"];\n2->3;\n3[label=\"Node Type: _ 3\n\"];\n}\n", + "acceptsVar(uint256)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: _ 1\n\"];\n}\n", + "noParams()": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: _ 1\n\"];\n}\n" + } +} \ No newline at end of file diff --git a/tests/ast-parsing/expected/modifier-0.7.0.sol-0.7.5-legacy.json b/tests/ast-parsing/expected/modifier-0.7.0.sol-0.7.5-legacy.json new file mode 100644 index 000000000..eaca6e24a --- /dev/null +++ b/tests/ast-parsing/expected/modifier-0.7.0.sol-0.7.5-legacy.json @@ -0,0 +1,12 @@ +{ + "A": { + "f()": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n}\n", + "m()": "digraph{\n}\n" + }, + "C": { + "onePlaceholder()": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: _ 1\n\"];\n}\n", + "multiplePlaceholders()": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: _ 1\n\"];\n1->2;\n2[label=\"Node Type: _ 2\n\"];\n2->3;\n3[label=\"Node Type: _ 3\n\"];\n}\n", + "acceptsVar(uint256)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: _ 1\n\"];\n}\n", + "noParams()": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: _ 1\n\"];\n}\n" + } +} \ No newline at end of file diff --git a/tests/ast-parsing/expected/modifier-0.7.0.sol-0.7.6-compact.json b/tests/ast-parsing/expected/modifier-0.7.0.sol-0.7.6-compact.json new file mode 100644 index 000000000..eaca6e24a --- /dev/null +++ b/tests/ast-parsing/expected/modifier-0.7.0.sol-0.7.6-compact.json @@ -0,0 +1,12 @@ +{ + "A": { + "f()": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n}\n", + "m()": "digraph{\n}\n" + }, + "C": { + "onePlaceholder()": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: _ 1\n\"];\n}\n", + "multiplePlaceholders()": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: _ 1\n\"];\n1->2;\n2[label=\"Node Type: _ 2\n\"];\n2->3;\n3[label=\"Node Type: _ 3\n\"];\n}\n", + "acceptsVar(uint256)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: _ 1\n\"];\n}\n", + "noParams()": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: _ 1\n\"];\n}\n" + } +} \ No newline at end of file diff --git a/tests/ast-parsing/expected/modifier-0.7.0.sol-0.7.6-legacy.json b/tests/ast-parsing/expected/modifier-0.7.0.sol-0.7.6-legacy.json new file mode 100644 index 000000000..eaca6e24a --- /dev/null +++ b/tests/ast-parsing/expected/modifier-0.7.0.sol-0.7.6-legacy.json @@ -0,0 +1,12 @@ +{ + "A": { + "f()": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n}\n", + "m()": "digraph{\n}\n" + }, + "C": { + "onePlaceholder()": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: _ 1\n\"];\n}\n", + "multiplePlaceholders()": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: _ 1\n\"];\n1->2;\n2[label=\"Node Type: _ 2\n\"];\n2->3;\n3[label=\"Node Type: _ 3\n\"];\n}\n", + "acceptsVar(uint256)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: _ 1\n\"];\n}\n", + "noParams()": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: _ 1\n\"];\n}\n" + } +} \ No newline at end of file diff --git a/tests/ast-parsing/expected/modifier-0.7.0.sol-0.8.0-compact.json b/tests/ast-parsing/expected/modifier-0.7.0.sol-0.8.0-compact.json new file mode 100644 index 000000000..eaca6e24a --- /dev/null +++ b/tests/ast-parsing/expected/modifier-0.7.0.sol-0.8.0-compact.json @@ -0,0 +1,12 @@ +{ + "A": { + "f()": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n}\n", + "m()": "digraph{\n}\n" + }, + "C": { + "onePlaceholder()": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: _ 1\n\"];\n}\n", + "multiplePlaceholders()": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: _ 1\n\"];\n1->2;\n2[label=\"Node Type: _ 2\n\"];\n2->3;\n3[label=\"Node Type: _ 3\n\"];\n}\n", + "acceptsVar(uint256)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: _ 1\n\"];\n}\n", + "noParams()": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: _ 1\n\"];\n}\n" + } +} \ No newline at end of file diff --git a/tests/ast-parsing/expected/modifier-0.7.0.sol-0.8.1-compact.json b/tests/ast-parsing/expected/modifier-0.7.0.sol-0.8.1-compact.json new file mode 100644 index 000000000..eaca6e24a --- /dev/null +++ b/tests/ast-parsing/expected/modifier-0.7.0.sol-0.8.1-compact.json @@ -0,0 +1,12 @@ +{ + "A": { + "f()": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n}\n", + "m()": "digraph{\n}\n" + }, + "C": { + "onePlaceholder()": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: _ 1\n\"];\n}\n", + "multiplePlaceholders()": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: _ 1\n\"];\n1->2;\n2[label=\"Node Type: _ 2\n\"];\n2->3;\n3[label=\"Node Type: _ 3\n\"];\n}\n", + "acceptsVar(uint256)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: _ 1\n\"];\n}\n", + "noParams()": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: _ 1\n\"];\n}\n" + } +} \ No newline at end of file diff --git a/tests/ast-parsing/expected/modifier-0.7.0.sol-0.8.10-compact.json b/tests/ast-parsing/expected/modifier-0.7.0.sol-0.8.10-compact.json new file mode 100644 index 000000000..eaca6e24a --- /dev/null +++ b/tests/ast-parsing/expected/modifier-0.7.0.sol-0.8.10-compact.json @@ -0,0 +1,12 @@ +{ + "A": { + "f()": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n}\n", + "m()": "digraph{\n}\n" + }, + "C": { + "onePlaceholder()": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: _ 1\n\"];\n}\n", + "multiplePlaceholders()": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: _ 1\n\"];\n1->2;\n2[label=\"Node Type: _ 2\n\"];\n2->3;\n3[label=\"Node Type: _ 3\n\"];\n}\n", + "acceptsVar(uint256)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: _ 1\n\"];\n}\n", + "noParams()": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: _ 1\n\"];\n}\n" + } +} \ No newline at end of file diff --git a/tests/ast-parsing/expected/modifier-0.7.0.sol-0.8.11-compact.json b/tests/ast-parsing/expected/modifier-0.7.0.sol-0.8.11-compact.json new file mode 100644 index 000000000..eaca6e24a --- /dev/null +++ b/tests/ast-parsing/expected/modifier-0.7.0.sol-0.8.11-compact.json @@ -0,0 +1,12 @@ +{ + "A": { + "f()": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n}\n", + "m()": "digraph{\n}\n" + }, + "C": { + "onePlaceholder()": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: _ 1\n\"];\n}\n", + "multiplePlaceholders()": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: _ 1\n\"];\n1->2;\n2[label=\"Node Type: _ 2\n\"];\n2->3;\n3[label=\"Node Type: _ 3\n\"];\n}\n", + "acceptsVar(uint256)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: _ 1\n\"];\n}\n", + "noParams()": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: _ 1\n\"];\n}\n" + } +} \ No newline at end of file diff --git a/tests/ast-parsing/expected/modifier-0.7.0.sol-0.8.12-compact.json b/tests/ast-parsing/expected/modifier-0.7.0.sol-0.8.12-compact.json new file mode 100644 index 000000000..eaca6e24a --- /dev/null +++ b/tests/ast-parsing/expected/modifier-0.7.0.sol-0.8.12-compact.json @@ -0,0 +1,12 @@ +{ + "A": { + "f()": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n}\n", + "m()": "digraph{\n}\n" + }, + "C": { + "onePlaceholder()": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: _ 1\n\"];\n}\n", + "multiplePlaceholders()": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: _ 1\n\"];\n1->2;\n2[label=\"Node Type: _ 2\n\"];\n2->3;\n3[label=\"Node Type: _ 3\n\"];\n}\n", + "acceptsVar(uint256)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: _ 1\n\"];\n}\n", + "noParams()": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: _ 1\n\"];\n}\n" + } +} \ No newline at end of file diff --git a/tests/ast-parsing/expected/modifier-0.7.0.sol-0.8.13-compact.json b/tests/ast-parsing/expected/modifier-0.7.0.sol-0.8.13-compact.json new file mode 100644 index 000000000..eaca6e24a --- /dev/null +++ b/tests/ast-parsing/expected/modifier-0.7.0.sol-0.8.13-compact.json @@ -0,0 +1,12 @@ +{ + "A": { + "f()": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n}\n", + "m()": "digraph{\n}\n" + }, + "C": { + "onePlaceholder()": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: _ 1\n\"];\n}\n", + "multiplePlaceholders()": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: _ 1\n\"];\n1->2;\n2[label=\"Node Type: _ 2\n\"];\n2->3;\n3[label=\"Node Type: _ 3\n\"];\n}\n", + "acceptsVar(uint256)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: _ 1\n\"];\n}\n", + "noParams()": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: _ 1\n\"];\n}\n" + } +} \ No newline at end of file diff --git a/tests/ast-parsing/expected/modifier-0.7.0.sol-0.8.14-compact.json b/tests/ast-parsing/expected/modifier-0.7.0.sol-0.8.14-compact.json new file mode 100644 index 000000000..eaca6e24a --- /dev/null +++ b/tests/ast-parsing/expected/modifier-0.7.0.sol-0.8.14-compact.json @@ -0,0 +1,12 @@ +{ + "A": { + "f()": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n}\n", + "m()": "digraph{\n}\n" + }, + "C": { + "onePlaceholder()": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: _ 1\n\"];\n}\n", + "multiplePlaceholders()": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: _ 1\n\"];\n1->2;\n2[label=\"Node Type: _ 2\n\"];\n2->3;\n3[label=\"Node Type: _ 3\n\"];\n}\n", + "acceptsVar(uint256)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: _ 1\n\"];\n}\n", + "noParams()": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: _ 1\n\"];\n}\n" + } +} \ No newline at end of file diff --git a/tests/ast-parsing/expected/modifier-0.7.0.sol-0.8.15-compact.json b/tests/ast-parsing/expected/modifier-0.7.0.sol-0.8.15-compact.json new file mode 100644 index 000000000..eaca6e24a --- /dev/null +++ b/tests/ast-parsing/expected/modifier-0.7.0.sol-0.8.15-compact.json @@ -0,0 +1,12 @@ +{ + "A": { + "f()": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n}\n", + "m()": "digraph{\n}\n" + }, + "C": { + "onePlaceholder()": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: _ 1\n\"];\n}\n", + "multiplePlaceholders()": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: _ 1\n\"];\n1->2;\n2[label=\"Node Type: _ 2\n\"];\n2->3;\n3[label=\"Node Type: _ 3\n\"];\n}\n", + "acceptsVar(uint256)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: _ 1\n\"];\n}\n", + "noParams()": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: _ 1\n\"];\n}\n" + } +} \ No newline at end of file diff --git a/tests/ast-parsing/expected/modifier-0.7.0.sol-0.8.2-compact.json b/tests/ast-parsing/expected/modifier-0.7.0.sol-0.8.2-compact.json new file mode 100644 index 000000000..eaca6e24a --- /dev/null +++ b/tests/ast-parsing/expected/modifier-0.7.0.sol-0.8.2-compact.json @@ -0,0 +1,12 @@ +{ + "A": { + "f()": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n}\n", + "m()": "digraph{\n}\n" + }, + "C": { + "onePlaceholder()": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: _ 1\n\"];\n}\n", + "multiplePlaceholders()": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: _ 1\n\"];\n1->2;\n2[label=\"Node Type: _ 2\n\"];\n2->3;\n3[label=\"Node Type: _ 3\n\"];\n}\n", + "acceptsVar(uint256)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: _ 1\n\"];\n}\n", + "noParams()": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: _ 1\n\"];\n}\n" + } +} \ No newline at end of file diff --git a/tests/ast-parsing/expected/modifier-0.7.0.sol-0.8.3-compact.json b/tests/ast-parsing/expected/modifier-0.7.0.sol-0.8.3-compact.json new file mode 100644 index 000000000..eaca6e24a --- /dev/null +++ b/tests/ast-parsing/expected/modifier-0.7.0.sol-0.8.3-compact.json @@ -0,0 +1,12 @@ +{ + "A": { + "f()": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n}\n", + "m()": "digraph{\n}\n" + }, + "C": { + "onePlaceholder()": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: _ 1\n\"];\n}\n", + "multiplePlaceholders()": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: _ 1\n\"];\n1->2;\n2[label=\"Node Type: _ 2\n\"];\n2->3;\n3[label=\"Node Type: _ 3\n\"];\n}\n", + "acceptsVar(uint256)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: _ 1\n\"];\n}\n", + "noParams()": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: _ 1\n\"];\n}\n" + } +} \ No newline at end of file diff --git a/tests/ast-parsing/expected/modifier-0.7.0.sol-0.8.4-compact.json b/tests/ast-parsing/expected/modifier-0.7.0.sol-0.8.4-compact.json new file mode 100644 index 000000000..eaca6e24a --- /dev/null +++ b/tests/ast-parsing/expected/modifier-0.7.0.sol-0.8.4-compact.json @@ -0,0 +1,12 @@ +{ + "A": { + "f()": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n}\n", + "m()": "digraph{\n}\n" + }, + "C": { + "onePlaceholder()": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: _ 1\n\"];\n}\n", + "multiplePlaceholders()": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: _ 1\n\"];\n1->2;\n2[label=\"Node Type: _ 2\n\"];\n2->3;\n3[label=\"Node Type: _ 3\n\"];\n}\n", + "acceptsVar(uint256)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: _ 1\n\"];\n}\n", + "noParams()": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: _ 1\n\"];\n}\n" + } +} \ No newline at end of file diff --git a/tests/ast-parsing/expected/modifier-0.7.0.sol-0.8.5-compact.json b/tests/ast-parsing/expected/modifier-0.7.0.sol-0.8.5-compact.json new file mode 100644 index 000000000..eaca6e24a --- /dev/null +++ b/tests/ast-parsing/expected/modifier-0.7.0.sol-0.8.5-compact.json @@ -0,0 +1,12 @@ +{ + "A": { + "f()": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n}\n", + "m()": "digraph{\n}\n" + }, + "C": { + "onePlaceholder()": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: _ 1\n\"];\n}\n", + "multiplePlaceholders()": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: _ 1\n\"];\n1->2;\n2[label=\"Node Type: _ 2\n\"];\n2->3;\n3[label=\"Node Type: _ 3\n\"];\n}\n", + "acceptsVar(uint256)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: _ 1\n\"];\n}\n", + "noParams()": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: _ 1\n\"];\n}\n" + } +} \ No newline at end of file diff --git a/tests/ast-parsing/expected/modifier-0.7.0.sol-0.8.6-compact.json b/tests/ast-parsing/expected/modifier-0.7.0.sol-0.8.6-compact.json new file mode 100644 index 000000000..eaca6e24a --- /dev/null +++ b/tests/ast-parsing/expected/modifier-0.7.0.sol-0.8.6-compact.json @@ -0,0 +1,12 @@ +{ + "A": { + "f()": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n}\n", + "m()": "digraph{\n}\n" + }, + "C": { + "onePlaceholder()": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: _ 1\n\"];\n}\n", + "multiplePlaceholders()": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: _ 1\n\"];\n1->2;\n2[label=\"Node Type: _ 2\n\"];\n2->3;\n3[label=\"Node Type: _ 3\n\"];\n}\n", + "acceptsVar(uint256)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: _ 1\n\"];\n}\n", + "noParams()": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: _ 1\n\"];\n}\n" + } +} \ No newline at end of file diff --git a/tests/ast-parsing/expected/modifier-0.7.0.sol-0.8.7-compact.json b/tests/ast-parsing/expected/modifier-0.7.0.sol-0.8.7-compact.json new file mode 100644 index 000000000..eaca6e24a --- /dev/null +++ b/tests/ast-parsing/expected/modifier-0.7.0.sol-0.8.7-compact.json @@ -0,0 +1,12 @@ +{ + "A": { + "f()": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n}\n", + "m()": "digraph{\n}\n" + }, + "C": { + "onePlaceholder()": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: _ 1\n\"];\n}\n", + "multiplePlaceholders()": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: _ 1\n\"];\n1->2;\n2[label=\"Node Type: _ 2\n\"];\n2->3;\n3[label=\"Node Type: _ 3\n\"];\n}\n", + "acceptsVar(uint256)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: _ 1\n\"];\n}\n", + "noParams()": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: _ 1\n\"];\n}\n" + } +} \ No newline at end of file diff --git a/tests/ast-parsing/expected/modifier-0.7.0.sol-0.8.8-compact.json b/tests/ast-parsing/expected/modifier-0.7.0.sol-0.8.8-compact.json new file mode 100644 index 000000000..eaca6e24a --- /dev/null +++ b/tests/ast-parsing/expected/modifier-0.7.0.sol-0.8.8-compact.json @@ -0,0 +1,12 @@ +{ + "A": { + "f()": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n}\n", + "m()": "digraph{\n}\n" + }, + "C": { + "onePlaceholder()": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: _ 1\n\"];\n}\n", + "multiplePlaceholders()": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: _ 1\n\"];\n1->2;\n2[label=\"Node Type: _ 2\n\"];\n2->3;\n3[label=\"Node Type: _ 3\n\"];\n}\n", + "acceptsVar(uint256)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: _ 1\n\"];\n}\n", + "noParams()": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: _ 1\n\"];\n}\n" + } +} \ No newline at end of file diff --git a/tests/ast-parsing/expected/modifier-0.7.0.sol-0.8.9-compact.json b/tests/ast-parsing/expected/modifier-0.7.0.sol-0.8.9-compact.json new file mode 100644 index 000000000..eaca6e24a --- /dev/null +++ b/tests/ast-parsing/expected/modifier-0.7.0.sol-0.8.9-compact.json @@ -0,0 +1,12 @@ +{ + "A": { + "f()": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n}\n", + "m()": "digraph{\n}\n" + }, + "C": { + "onePlaceholder()": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: _ 1\n\"];\n}\n", + "multiplePlaceholders()": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: _ 1\n\"];\n1->2;\n2[label=\"Node Type: _ 2\n\"];\n2->3;\n3[label=\"Node Type: _ 3\n\"];\n}\n", + "acceptsVar(uint256)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: _ 1\n\"];\n}\n", + "noParams()": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: _ 1\n\"];\n}\n" + } +} \ No newline at end of file diff --git a/tests/ast-parsing/modifier-0.7.0.sol b/tests/ast-parsing/modifier-0.7.0.sol new file mode 100644 index 000000000..24240ad5e --- /dev/null +++ b/tests/ast-parsing/modifier-0.7.0.sol @@ -0,0 +1,27 @@ +abstract contract A{ + modifier m() virtual; + + function f() public m(){ + + } +} + +contract C { + modifier onePlaceholder() { + _; + } + + modifier multiplePlaceholders() { + _; + _; + _; + } + + modifier acceptsVar(uint a) { + _; + } + + modifier noParams { + _; + } +} diff --git a/tests/test_ast_parsing.py b/tests/test_ast_parsing.py index 506ee3d6b..0e7ae2152 100644 --- a/tests/test_ast_parsing.py +++ b/tests/test_ast_parsing.py @@ -12,13 +12,13 @@ from solc_select.solc_select import installed_versions as get_installed_solc_ver from crytic_compile import CryticCompile, save_to_zip from crytic_compile.utils.zip import load_from_zip - from slither import Slither from slither.printers.guidance.echidna import Echidna SLITHER_ROOT = os.path.dirname(os.path.dirname(os.path.abspath(__file__))) TEST_ROOT = os.path.join(SLITHER_ROOT, "tests", "ast-parsing") + # pylint: disable=too-few-public-methods class Test: def __init__(self, test_file: str, solc_versions: List[str], disable_legacy: bool = False): @@ -282,7 +282,11 @@ ALL_TESTS = [ ), Test( "modifier-all.sol", - ALL_VERSIONS, + VERSIONS_04 + VERSIONS_05 + VERSIONS_06, + ), + Test( + "modifier-0.7.0.sol", + VERSIONS_07 + VERSIONS_08, ), Test("library_implicit_conversion-0.4.0.sol", VERSIONS_04), Test( @@ -466,15 +470,15 @@ def test_parsing(test_item: Test): path_list = re.findall(r"\['(.*?)'\]", change.path()) path = "_".join(path_list) with open( - f"test_artifacts/{test_item.test_file}_{path}_expected.dot", - "w", - encoding="utf8", + f"test_artifacts/{test_item.test_file}_{path}_expected.dot", + "w", + encoding="utf8", ) as f: f.write(change.t1) with open( - f"test_artifacts/{test_item.test_file}_{version}_{flavor}_{path}_actual.dot", - "w", - encoding="utf8", + f"test_artifacts/{test_item.test_file}_{version}_{flavor}_{path}_actual.dot", + "w", + encoding="utf8", ) as f: f.write(change.t2)