Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

implement new operator for solidity 0.7.1 #62

Open
jacky860226 opened this issue Dec 23, 2020 · 0 comments
Open

implement new operator for solidity 0.7.1 #62

jacky860226 opened this issue Dec 23, 2020 · 0 comments

Comments

@jacky860226
Copy link
Contributor

jacky860226 commented Dec 23, 2020

Implement new for solidity 0.7.1
For example, the following contracts can be supported:

contract AAA{
	BBB b;
	function func() public returns(int){
		b = new BBB();
		return b.func2();
	}
}
contract BBB{
	function func2() public returns(int){
		return 7122;
	}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant