syntax fix - constructor identifier

pull/5370/head
LianaHus 6 years ago
parent b538e6e1b2
commit c5c735f52b
  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