-
Notifications
You must be signed in to change notification settings - Fork 61
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #128 from Consensys/127-refactor-solidity-workspac…
…e-test-and-fixes Continuation - 127
- Loading branch information
Showing
28 changed files
with
13,392 additions
and
9,431 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,15 @@ | ||
{ | ||
"version": "0.2.0", | ||
"configurations": [ | ||
{ | ||
"name": "Launch Extension", | ||
"type": "extensionHost", | ||
"request": "launch", | ||
"runtimeExecutable": "${execPath}", | ||
"args": [ | ||
"--extensionDevelopmentPath=${workspaceRoot}" | ||
], | ||
"stopOnEntry": false, | ||
"sourceMaps": true, | ||
"outFiles": [ | ||
"${workspaceRoot}/out/**/*.js" | ||
], | ||
"preLaunchTask": "npm: install" | ||
} | ||
] | ||
"version": "0.2.0", | ||
"configurations": [ | ||
{ | ||
"name": "Launch Extension", | ||
"type": "extensionHost", | ||
"request": "launch", | ||
"runtimeExecutable": "${execPath}", | ||
"args": ["--extensionDevelopmentPath=${workspaceRoot}"], | ||
"sourceMaps": true, | ||
"outFiles": ["${workspaceRoot}/out/**/*.js"], | ||
"preLaunchTask": "npm: install" | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,12 @@ | ||
{ | ||
// See https://go.microsoft.com/fwlink/?LinkId=733558 | ||
// for the documentation about the tasks.json format | ||
"version": "2.0.0", | ||
"tasks": [ | ||
{ | ||
"label": "npm: install", | ||
"type": "shell", | ||
"command": "npm install" | ||
} | ||
] | ||
} | ||
// See https://go.microsoft.com/fwlink/?LinkId=733558 | ||
// for the documentation about the tasks.json format | ||
"version": "2.0.0", | ||
"tasks": [ | ||
{ | ||
"label": "npm: install", | ||
"type": "shell", | ||
"command": "npm install" | ||
} | ||
] | ||
} |
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
//SPDX-License-Identifier: MIT | ||
|
||
pragma solidity ^0.8.17; | ||
|
||
interface B { | ||
function testCall(uint256 a) external payable; | ||
} | ||
|
||
|
||
contract TestFunctionOverride { | ||
|
||
struct test1 { | ||
uint256 t1; | ||
} | ||
|
||
struct test2 { | ||
string t2; | ||
} | ||
|
||
address test; | ||
function foo() public {} | ||
|
||
function foo(string memory bar2) public {} | ||
|
||
function bar(uint256 t1, uint256 t2) public { | ||
B(test).testCall(t1); | ||
} | ||
function bar(uint256 t2) public payable { | ||
B(test).testCall(t2); | ||
} | ||
|
||
function bar(test1 calldata t1) public { | ||
} | ||
|
||
function bar(test2 calldata t2) public {} | ||
|
||
} |
Oops, something went wrong.