Fix broken tests + minor

pull/1085/head
Josselin 3 years ago
parent c0fbbeb1b8
commit 508745430b
  1. BIN
      tests/ast-parsing/compile/import-0.4.0-legacy.zip
  2. BIN
      tests/ast-parsing/compile/import-0.4.1-legacy.zip
  3. BIN
      tests/ast-parsing/compile/import-0.4.10-legacy.zip
  4. BIN
      tests/ast-parsing/compile/import-0.4.11-legacy.zip
  5. BIN
      tests/ast-parsing/compile/import-0.4.14-compact.zip
  6. BIN
      tests/ast-parsing/compile/import-0.4.14-legacy.zip
  7. BIN
      tests/ast-parsing/compile/import-0.4.16-compact.zip
  8. BIN
      tests/ast-parsing/compile/import-0.4.16-legacy.zip
  9. BIN
      tests/ast-parsing/compile/import-0.4.21-compact.zip
  10. BIN
      tests/ast-parsing/compile/import-0.4.21-legacy.zip
  11. BIN
      tests/ast-parsing/compile/import-0.4.22-compact.zip
  12. BIN
      tests/ast-parsing/compile/import-0.4.22-legacy.zip
  13. BIN
      tests/ast-parsing/compile/import-0.4.23-compact.zip
  14. BIN
      tests/ast-parsing/compile/import-0.4.23-legacy.zip
  15. BIN
      tests/ast-parsing/compile/import-0.4.24-compact.zip
  16. BIN
      tests/ast-parsing/compile/import-0.4.24-legacy.zip
  17. BIN
      tests/ast-parsing/compile/import-0.4.3-legacy.zip
  18. BIN
      tests/ast-parsing/compile/import-0.4.5-legacy.zip
  19. BIN
      tests/ast-parsing/compile/import-0.4.7-legacy.zip
  20. BIN
      tests/ast-parsing/compile/import-0.4.8-legacy.zip
  21. BIN
      tests/ast-parsing/compile/import-0.5.0-compact.zip
  22. BIN
      tests/ast-parsing/compile/import-0.5.0-legacy.zip
  23. BIN
      tests/ast-parsing/compile/import-0.5.14-compact.zip
  24. BIN
      tests/ast-parsing/compile/import-0.5.14-legacy.zip
  25. BIN
      tests/ast-parsing/compile/import-0.5.3-compact.zip
  26. BIN
      tests/ast-parsing/compile/import-0.5.3-legacy.zip
  27. BIN
      tests/ast-parsing/compile/import-0.5.4-compact.zip
  28. BIN
      tests/ast-parsing/compile/import-0.5.4-legacy.zip
  29. BIN
      tests/ast-parsing/compile/import-0.6.0-compact.zip
  30. BIN
      tests/ast-parsing/compile/import-0.6.0-legacy.zip
  31. BIN
      tests/ast-parsing/compile/import-0.6.1-compact.zip
  32. BIN
      tests/ast-parsing/compile/import-0.6.1-legacy.zip
  33. BIN
      tests/ast-parsing/compile/import-0.6.2-compact.zip
  34. BIN
      tests/ast-parsing/compile/import-0.6.2-legacy.zip
  35. BIN
      tests/ast-parsing/compile/import-0.6.5-compact.zip
  36. BIN
      tests/ast-parsing/compile/import-0.6.5-legacy.zip
  37. BIN
      tests/ast-parsing/compile/import-0.6.7-compact.zip
  38. BIN
      tests/ast-parsing/compile/import-0.6.7-legacy.zip
  39. BIN
      tests/ast-parsing/compile/import-0.6.8-compact.zip
  40. BIN
      tests/ast-parsing/compile/import-0.6.8-legacy.zip
  41. BIN
      tests/ast-parsing/compile/import-0.6.9-compact.zip
  42. BIN
      tests/ast-parsing/compile/import-0.6.9-legacy.zip
  43. BIN
      tests/ast-parsing/compile/import-0.7.0-compact.zip
  44. BIN
      tests/ast-parsing/compile/import-0.7.0-legacy.zip
  45. BIN
      tests/ast-parsing/compile/import-0.7.1-compact.zip
  46. BIN
      tests/ast-parsing/compile/import-0.7.1-legacy.zip
  47. BIN
      tests/ast-parsing/compile/import-0.7.4-compact.zip
  48. BIN
      tests/ast-parsing/compile/import-0.7.4-legacy.zip
  49. BIN
      tests/ast-parsing/compile/import-0.7.5-compact.zip
  50. BIN
      tests/ast-parsing/compile/import-0.7.5-legacy.zip
  51. BIN
      tests/ast-parsing/compile/import-0.8.0-compact.zip
  52. BIN
      tests/ast-parsing/compile/import-0.8.4-compact.zip
  53. BIN
      tests/ast-parsing/compile/import-0.8.6-compact.zip
  54. BIN
      tests/ast-parsing/compile/import-0.8.7-compact.zip
  55. BIN
      tests/ast-parsing/compile/yul-0.7.5-compact.zip
  56. BIN
      tests/ast-parsing/compile/yul-0.7.5-legacy.zip
  57. BIN
      tests/ast-parsing/compile/yul-0.7.6-compact.zip
  58. BIN
      tests/ast-parsing/compile/yul-0.7.6-legacy.zip
  59. 3
      tests/ast-parsing/expected/yul-0.7.5-compact.json
  60. 3
      tests/ast-parsing/expected/yul-0.7.5-legacy.json
  61. 3
      tests/ast-parsing/expected/yul-0.7.6-compact.json
  62. 3
      tests/ast-parsing/expected/yul-0.7.6-legacy.json
  63. 2
      tests/ast-parsing/yul-0.7.5.sol

@ -1,6 +1,5 @@
{
"L": {},
"C": {
"f(uint256,uint256[])": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: NEW VARIABLE 1\n\"];\n1->2;\n2[label=\"Node Type: NEW VARIABLE 2\n\"];\n2->3;\n3[label=\"Node Type: INLINE ASM 3\n\"];\n3->4;\n4[label=\"Node Type: NEW VARIABLE 4\n\"];\n4->5;\n5[label=\"Node Type: EXPRESSION 5\n\"];\n5->6;\n6[label=\"Node Type: NEW VARIABLE 6\n\"];\n6->7;\n7[label=\"Node Type: EXPRESSION 7\n\"];\n7->8;\n8[label=\"Node Type: NEW VARIABLE 8\n\"];\n8->9;\n9[label=\"Node Type: EXPRESSION 9\n\"];\n9->10;\n10[label=\"Node Type: NEW VARIABLE 10\n\"];\n10->11;\n11[label=\"Node Type: EXPRESSION 11\n\"];\n11->12;\n12[label=\"Node Type: EXPRESSION 12\n\"];\n12->13;\n13[label=\"Node Type: EXPRESSION 13\n\"];\n13->14;\n14[label=\"Node Type: EXPRESSION 14\n\"];\n14->15;\n15[label=\"Node Type: EXPRESSION 15\n\"];\n15->16;\n16[label=\"Node Type: NEW VARIABLE 16\n\"];\n16->17;\n17[label=\"Node Type: EXPRESSION 17\n\"];\n17->18;\n18[label=\"Node Type: NEW VARIABLE 18\n\"];\n18->19;\n19[label=\"Node Type: EXPRESSION 19\n\"];\n19->20;\n20[label=\"Node Type: NEW VARIABLE 20\n\"];\n20->21;\n21[label=\"Node Type: EXPRESSION 21\n\"];\n21->22;\n22[label=\"Node Type: NEW VARIABLE 22\n\"];\n22->23;\n23[label=\"Node Type: EXPRESSION 23\n\"];\n23->24;\n24[label=\"Node Type: EXPRESSION 24\n\"];\n24->25;\n25[label=\"Node Type: EXPRESSION 25\n\"];\n25->26;\n26[label=\"Node Type: EXPRESSION 26\n\"];\n26->27;\n27[label=\"Node Type: EXPRESSION 27\n\"];\n27->28;\n28[label=\"Node Type: NEW VARIABLE 28\n\"];\n28->29;\n29[label=\"Node Type: EXPRESSION 29\n\"];\n}\n"
"f(bytes)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: INLINE ASM 1\n\"];\n1->2;\n2[label=\"Node Type: EXPRESSION 2\n\"];\n2->3;\n3[label=\"Node Type: EXPRESSION 3\n\"];\n}\n"
}
}

@ -1,6 +1,5 @@
{
"L": {},
"C": {
"f(uint256,uint256[])": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: NEW VARIABLE 1\n\"];\n1->2;\n2[label=\"Node Type: NEW VARIABLE 2\n\"];\n2->3;\n3[label=\"Node Type: INLINE ASM 3\n\"];\n}\n"
"f(bytes)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: INLINE ASM 1\n\"];\n}\n"
}
}

@ -1,6 +1,5 @@
{
"L": {},
"C": {
"f(uint256,uint256[])": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: NEW VARIABLE 1\n\"];\n1->2;\n2[label=\"Node Type: NEW VARIABLE 2\n\"];\n2->3;\n3[label=\"Node Type: INLINE ASM 3\n\"];\n3->4;\n4[label=\"Node Type: NEW VARIABLE 4\n\"];\n4->5;\n5[label=\"Node Type: EXPRESSION 5\n\"];\n5->6;\n6[label=\"Node Type: NEW VARIABLE 6\n\"];\n6->7;\n7[label=\"Node Type: EXPRESSION 7\n\"];\n7->8;\n8[label=\"Node Type: NEW VARIABLE 8\n\"];\n8->9;\n9[label=\"Node Type: EXPRESSION 9\n\"];\n9->10;\n10[label=\"Node Type: NEW VARIABLE 10\n\"];\n10->11;\n11[label=\"Node Type: EXPRESSION 11\n\"];\n11->12;\n12[label=\"Node Type: EXPRESSION 12\n\"];\n12->13;\n13[label=\"Node Type: EXPRESSION 13\n\"];\n13->14;\n14[label=\"Node Type: EXPRESSION 14\n\"];\n14->15;\n15[label=\"Node Type: EXPRESSION 15\n\"];\n15->16;\n16[label=\"Node Type: NEW VARIABLE 16\n\"];\n16->17;\n17[label=\"Node Type: EXPRESSION 17\n\"];\n17->18;\n18[label=\"Node Type: NEW VARIABLE 18\n\"];\n18->19;\n19[label=\"Node Type: EXPRESSION 19\n\"];\n19->20;\n20[label=\"Node Type: NEW VARIABLE 20\n\"];\n20->21;\n21[label=\"Node Type: EXPRESSION 21\n\"];\n21->22;\n22[label=\"Node Type: NEW VARIABLE 22\n\"];\n22->23;\n23[label=\"Node Type: EXPRESSION 23\n\"];\n23->24;\n24[label=\"Node Type: EXPRESSION 24\n\"];\n24->25;\n25[label=\"Node Type: EXPRESSION 25\n\"];\n25->26;\n26[label=\"Node Type: EXPRESSION 26\n\"];\n26->27;\n27[label=\"Node Type: EXPRESSION 27\n\"];\n27->28;\n28[label=\"Node Type: NEW VARIABLE 28\n\"];\n28->29;\n29[label=\"Node Type: EXPRESSION 29\n\"];\n}\n"
"f(bytes)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: INLINE ASM 1\n\"];\n1->2;\n2[label=\"Node Type: EXPRESSION 2\n\"];\n2->3;\n3[label=\"Node Type: EXPRESSION 3\n\"];\n}\n"
}
}

@ -1,6 +1,5 @@
{
"L": {},
"C": {
"f(uint256,uint256[])": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: NEW VARIABLE 1\n\"];\n1->2;\n2[label=\"Node Type: NEW VARIABLE 2\n\"];\n2->3;\n3[label=\"Node Type: INLINE ASM 3\n\"];\n}\n"
"f(bytes)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: INLINE ASM 1\n\"];\n}\n"
}
}

@ -2,7 +2,7 @@ contract C {
function f(bytes calldata paramA) external returns (uint256 retA) {
assembly {
retA := paramA.offset
retA := add(retA, batchData.length)
retA := add(retA, paramA.length)
}
}

Loading…
Cancel
Save