mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Remove empty settings.
This commit is contained in:
@@ -8,7 +8,6 @@ contract test {
|
||||
dynamicData[2][2] = 8;
|
||||
}
|
||||
}
|
||||
// ====
|
||||
// ----
|
||||
// data(uint256,uint256): 2, 2 -> 8
|
||||
// data(uint256,uint256): 2, 8 -> FAILURE # NB: the original code contained a bug here #
|
||||
|
||||
@@ -22,7 +22,6 @@ contract test {
|
||||
multiple_map[2][1][2].finalArray[3] = 5;
|
||||
}
|
||||
}
|
||||
// ====
|
||||
// ----
|
||||
// data(uint256): 0 -> 8
|
||||
// data(uint256): 8 -> FAILURE
|
||||
|
||||
@@ -19,7 +19,6 @@ contract Test {
|
||||
return z;
|
||||
}
|
||||
}
|
||||
// ====
|
||||
// ----
|
||||
// x(uint256): 0 -> -1
|
||||
// x(uint256): 1 -> -2
|
||||
|
||||
@@ -10,7 +10,6 @@ contract test {
|
||||
to_multiple_map[42][23] = 31;
|
||||
}
|
||||
}
|
||||
// ====
|
||||
// ----
|
||||
// to_string_map(uint256): 42 -> "24"
|
||||
// to_bool_map(uint256): 42 -> false
|
||||
|
||||
@@ -2,7 +2,6 @@ contract Test {
|
||||
bytes x;
|
||||
function set(bytes memory _a) public { x = _a; }
|
||||
}
|
||||
// ====
|
||||
// ----
|
||||
// set(bytes): 0x20, 3, "abc"
|
||||
// storageEmpty -> 0
|
||||
|
||||
@@ -15,7 +15,6 @@ contract Ballot {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
// ====
|
||||
// ----
|
||||
// getVoteCount(address): 0 -> 0
|
||||
// getVoteCount(address): 1 -> 0
|
||||
|
||||
@@ -13,7 +13,6 @@ contract C {
|
||||
return m_nameToRecord["fixed"];
|
||||
}
|
||||
}
|
||||
// ====
|
||||
// ----
|
||||
// set(string,uint256): 0x40, 8, 3, "abc" ->
|
||||
// get(string): 0x20, 3, "abc" -> 8
|
||||
|
||||
@@ -28,7 +28,6 @@ contract C {
|
||||
return a.length;
|
||||
}
|
||||
}
|
||||
// ====
|
||||
// ----
|
||||
// n1(uint256,uint256): 42, 64 ->
|
||||
// map(uint256): 42 -> 64
|
||||
|
||||
@@ -23,7 +23,6 @@ contract C {
|
||||
return a.length;
|
||||
}
|
||||
}
|
||||
// ====
|
||||
// ----
|
||||
// n1(uint256,uint256): 42, 64 ->
|
||||
// map(uint256): 42 -> 64
|
||||
|
||||
@@ -39,7 +39,6 @@ contract C {
|
||||
}
|
||||
}
|
||||
|
||||
// ====
|
||||
// ----
|
||||
// set() ->
|
||||
// t1() -> 7
|
||||
|
||||
@@ -8,6 +8,5 @@ contract test {
|
||||
data[7].d = true;
|
||||
}
|
||||
}
|
||||
// ====
|
||||
// ----
|
||||
// data(uint256): 7 -> 1, 2, true
|
||||
|
||||
Reference in New Issue
Block a user