Skip to content

Conversation

@favadi
Copy link

@favadi favadi commented Apr 28, 2018

From solidity v0.4.22 change log:
https://github.com/ethereum/solidity/releases/tag/v0.4.22

Constructors should now be defined using constructor(uint arg1, uint arg2) { ... } to make them stand out and avoid bugs when contracts are renamed but not their constructors.

From solidity v0.4.22 change log:
https://github.com/ethereum/solidity/releases/tag/v0.4.22

> Constructors should now be defined using constructor(uint arg1, uint arg2) { ... } to make them stand out and avoid bugs when contracts are renamed but not their constructors.
@LefterisJP
Copy link
Collaborator

Nice thank you :)

I also see you sorted them alphabetically ;)

@LefterisJP LefterisJP merged commit 6c0dd80 into ethereum:master Apr 28, 2018
@favadi favadi deleted the constructor-keyword branch April 29, 2018 04:37
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

Successfully merging this pull request may close these issues.

2 participants