solang 0.2.1

Solang Solidity Compiler
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
function foo(int) {}
struct S { int f1; }
function bar(S memory) {}

using {foo} for int;
using {bar} for S global;

function test(int a) {
	a.foo();
}

contract c {
	function f(S memory s) public {
		s.bar();
	}
}