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

problem with new syntax #15

Open
startgeek opened this issue Dec 13, 2018 · 2 comments
Open

problem with new syntax #15

startgeek opened this issue Dec 13, 2018 · 2 comments

Comments

@startgeek
Copy link

there are couple of problems
first: version of pragma should change to pragma solidity >=0.4.0 <0.6.0;
second : using same name for constructor function as contract name is deprecated
third : this keyword always raise a error in tokensale.sol I'm not sure why
by the way thanks for great videos

@mmcc1
Copy link

mmcc1 commented Feb 13, 2019

this should be address(this)

@gabefighter99
Copy link

Also the tests that contain indexOf are failing. Is indexOf no longer a function? How to replace?

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