You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
constructor can be defined by the same name of its contract name.
However, this can possibly cause unintended bugs when contracts are renamed and their constructors are not renamed.
Solidity 0.4.22 and above
Use a constructor keyword and create an anonymous function.
bad habbit : function constructor(args) {....body........}
but
good habit: constructor (args) {.body..} .
@ team, is this content sufficient to make PR for this issue?
In this section ,there are nothing informative .
what was the purpose of build this section?
The text was updated successfully, but these errors were encountered: