syntax fix - constructor identifier

pull/7/head
LianaHus 6 years ago
parent 339f3ad54c
commit 00408be9b4
  1. 2
      remix-tests/examples/simple_storage.sol
  2. 2
      remix-tests/tests/examples_1/simple_storage.sol
  3. 2
      remix-tests/tests/examples_2/simple_storage.sol
  4. 2
      remix-tests/tests/examples_3/simple_string.sol

@ -2,7 +2,7 @@ pragma solidity ^0.4.7;
contract SimpleStorage {
uint public storedData;
function SimpleStorage() public {
constructor() public {
storedData = 100;
}

@ -2,7 +2,7 @@ pragma solidity ^0.4.7;
contract SimpleStorage {
uint public storedData;
function SimpleStorage() public {
constructor() public {
storedData = 100;
}

@ -2,7 +2,7 @@ pragma solidity ^0.4.7;
contract SimpleStorage {
uint public storedData;
function SimpleStorage() public {
constructor() public {
storedData = 100;
}

@ -2,7 +2,7 @@ pragma solidity ^0.4.7;
contract SimpleString {
string public storedData;
function SimpleString() public {
constructor() public {
storedData = "Hello world!";
}

Loading…
Cancel
Save