-
Notifications
You must be signed in to change notification settings - Fork 979
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1848 from DarrenChangJR/dev
Bug Fix: Contract obj is_fully_implemented
- Loading branch information
Showing
4 changed files
with
37 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
pragma solidity ^0.8.0; | ||
|
||
contract Concrete { | ||
uint256 public value; | ||
|
||
function setValue(uint256 newValue) public { | ||
value = newValue; | ||
} | ||
} |
13 changes: 13 additions & 0 deletions
13
tests/unit/core/test_data/contract_declaration/concrete_old.sol
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
pragma solidity ^0.5.0; | ||
|
||
contract ConcreteOld { | ||
uint256 public myNumber; | ||
|
||
constructor(uint256 initialNumber) public { | ||
myNumber = initialNumber; | ||
} | ||
|
||
function setNumber(uint256 newNumber) public { | ||
myNumber = newNumber; | ||
} | ||
} |