We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 817ffe4 commit 1462b8bCopy full SHA for 1462b8b
testdata/default/linking/samefile_union/Libs.sol
@@ -2,13 +2,13 @@
2
pragma solidity ^0.8.18;
3
4
library LInit {
5
- function f() internal pure returns (uint256) {
6
- return 1;
+ function f() external view returns (uint256) {
+ return block.number;
7
}
8
9
10
library LRun {
11
- function g() internal pure returns (uint256) {
12
- return 2;
+ function g() external view returns (uint256) {
+ return block.timestamp;
13
14
0 commit comments