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

Remove address overloads on contracts #2683

Closed
axic opened this issue Aug 1, 2017 · 1 comment
Closed

Remove address overloads on contracts #2683

axic opened this issue Aug 1, 2017 · 1 comment

Comments

@axic
Copy link
Member

axic commented Aug 1, 2017

I think it would make sense removing those overloads and making their use explicit by typecasting to an address.

The reason is to make it explicit what functions are defined on a contract and not have confusing overloads, common examples are in the case of transfer and balance.

@axic
Copy link
Member Author

axic commented Sep 20, 2017

It seems we will lose one feature: warning if the destination contract has a non-payable fallback function.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants