Skip to content

Commit 804eced

Browse files
authored
Merge pull request #128 from Consensys/127-refactor-solidity-workspace-test-and-fixes
Continuation - 127
2 parents 4a3961a + 92173f4 commit 804eced

28 files changed

+13392
-9431
lines changed

.vscode/launch.json

Lines changed: 13 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,15 @@
11
{
2-
"version": "0.2.0",
3-
"configurations": [
4-
{
5-
"name": "Launch Extension",
6-
"type": "extensionHost",
7-
"request": "launch",
8-
"runtimeExecutable": "${execPath}",
9-
"args": [
10-
"--extensionDevelopmentPath=${workspaceRoot}"
11-
],
12-
"stopOnEntry": false,
13-
"sourceMaps": true,
14-
"outFiles": [
15-
"${workspaceRoot}/out/**/*.js"
16-
],
17-
"preLaunchTask": "npm: install"
18-
}
19-
]
2+
"version": "0.2.0",
3+
"configurations": [
4+
{
5+
"name": "Launch Extension",
6+
"type": "extensionHost",
7+
"request": "launch",
8+
"runtimeExecutable": "${execPath}",
9+
"args": ["--extensionDevelopmentPath=${workspaceRoot}"],
10+
"sourceMaps": true,
11+
"outFiles": ["${workspaceRoot}/out/**/*.js"],
12+
"preLaunchTask": "npm: install"
13+
}
14+
]
2015
}

.vscode/tasks.json

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
{
2-
// See https://go.microsoft.com/fwlink/?LinkId=733558
3-
// for the documentation about the tasks.json format
4-
"version": "2.0.0",
5-
"tasks": [
6-
{
7-
"label": "npm: install",
8-
"type": "shell",
9-
"command": "npm install"
10-
}
11-
]
12-
}
2+
// See https://go.microsoft.com/fwlink/?LinkId=733558
3+
// for the documentation about the tasks.json format
4+
"version": "2.0.0",
5+
"tasks": [
6+
{
7+
"label": "npm: install",
8+
"type": "shell",
9+
"command": "npm install"
10+
}
11+
]
12+
}

CHANGELOG.md

Lines changed: 80 additions & 42 deletions
Large diffs are not rendered by default.

README.md

Lines changed: 148 additions & 158 deletions
Large diffs are not rendered by default.
Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
//SPDX-License-Identifier: MIT
2+
3+
pragma solidity ^0.8.17;
4+
5+
interface B {
6+
function testCall(uint256 a) external payable;
7+
}
8+
9+
10+
contract TestFunctionOverride {
11+
12+
struct test1 {
13+
uint256 t1;
14+
}
15+
16+
struct test2 {
17+
string t2;
18+
}
19+
20+
address test;
21+
function foo() public {}
22+
23+
function foo(string memory bar2) public {}
24+
25+
function bar(uint256 t1, uint256 t2) public {
26+
B(test).testCall(t1);
27+
}
28+
function bar(uint256 t2) public payable {
29+
B(test).testCall(t2);
30+
}
31+
32+
function bar(test1 calldata t1) public {
33+
}
34+
35+
function bar(test2 calldata t2) public {}
36+
37+
}

0 commit comments

Comments
 (0)