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

Overload of send #1396

Closed
robinsierra opened this issue Apr 16, 2019 · 2 comments
Closed

Overload of send #1396

robinsierra opened this issue Apr 16, 2019 · 2 comments

Comments

@robinsierra
Copy link

Vyper version: 0.1.0b9

What's your issue about?

Vyper doesn't allow naming functions after built-in functions like raw_call. However, it is possible to call a function send. This seems like an inconsistency in the language.

@public
def send():
	pass

How can it be fixed?

Disallow functions called send.

@fubuloubu
Copy link
Member

Good find!

@fubuloubu fubuloubu added beta10 bug Bug that shouldn't change language semantics when fixed. labels Apr 16, 2019
@jacqueswww jacqueswww removed beta10 bug Bug that shouldn't change language semantics when fixed. labels May 6, 2019
@jacqueswww
Copy link
Contributor

I am afraid send is a whitelisted word, because send is already present as function in existing EIP's like ERC777. See #1068 .

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

3 participants