Trivial isoltest updates: missing // ---- at the end

This commit is contained in:
Alex Beregszaszi
2021-04-20 17:38:29 +02:00
committed by Kamil Śliwak
parent 84c05d35f3
commit 1be07c2b36
613 changed files with 613 additions and 0 deletions
@@ -11,3 +11,4 @@ contract B is A {
function h(uint[] memory) public override { dummy = 42; }
function i(uint[] memory) public override payable {}
}
// ----
@@ -11,3 +11,4 @@ contract C is I {
function h(uint[] memory) public override { dummy = 42; }
function i(uint[] memory) public override payable {}
}
// ----
@@ -10,3 +10,4 @@ contract C {
i.f(new uint[](1));
}
}
// ----
@@ -10,3 +10,4 @@ abstract contract B is I {
}
contract C is A, B {
}
// ----
@@ -10,3 +10,4 @@ abstract contract B is I
}
// This is fine because `f` is not implemented in `I` and `A.f` is the only mention below `I`.
abstract contract C is A, B {}
// ----
@@ -5,3 +5,4 @@ contract B is A {
function f() public override pure {
}
}
// ----
@@ -1,2 +1,3 @@
interface ERC20 { function x() external returns (uint); }
contract C is ERC20 { uint public override x; }
// ----
@@ -5,3 +5,4 @@ contract Y is X {
contract T {
constructor() { new Y(); }
}
// ----
@@ -7,3 +7,4 @@ contract B {
contract C is A, B {
modifier f() override(A,B) { _; }
}
// ----
@@ -9,3 +9,4 @@ contract C is B {
function f() override internal {}
function i() pure internal { f; }
}
// ----
@@ -17,3 +17,4 @@ abstract contract B is IJ
function g() external override {}
}
contract C is A, B {}
// ----
@@ -17,3 +17,4 @@ abstract contract B is IJ
function g() external override {}
}
abstract contract C is A, B {}
// ----
@@ -16,3 +16,4 @@ contract X is A, B, C, D {
function test() internal override returns (uint256) {}
function foo() internal override(A, B, C, D) returns (uint256) {}
}
// ----
@@ -13,3 +13,4 @@ contract B is I {
contract X is A, B {
function set() public override(A, B) { super.set(); }
}
// ----
@@ -8,3 +8,4 @@ contract B is I {}
contract C is A, B {
function f() external override(A, I) {}
}
// ----
@@ -4,3 +4,4 @@ contract I {
contract A is I {}
contract B is I {}
contract C is A, B {}
// ----
@@ -7,3 +7,4 @@ interface B {
abstract contract C is A, B {
function f() external virtual override(A, B);
}
// ----
@@ -10,3 +10,4 @@ abstract contract C {
contract D is C {
mapping(address => S) public override f;
}
// ----
@@ -11,3 +11,4 @@ abstract contract C {
contract D is C {
S public override f;
}
// ----
@@ -6,3 +6,4 @@ contract ERC20 {
contract C is ERC20 {
mapping(address => uint) public override balanceOf;
}
// ----