Skip to content

Constructor deprecated #7

@jatorrero

Description

@jatorrero

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; }

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions