-
Notifications
You must be signed in to change notification settings - Fork 71
Constructor deprecated #7
Copy link
Copy link
Open
Description
I have just check the code of CalculatorV2, and it needs a change.
The constructor is defined as
function CalculatorV2(uint num) public { // constructor result=num; }
But this way of defining a constructor is deprecated. Now it must be defined as:
constructor (uint num) public { // constructor result=num; }
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels