mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
lsp: Adding test for custom include paths.
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
// SPDX-License-Identifier: UNLICENSED
|
||||
pragma solidity >=0.8.0;
|
||||
|
||||
import "otherlib/otherlib.sol";
|
||||
// ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ @NotFound
|
||||
|
||||
contract MyContract
|
||||
{
|
||||
}
|
||||
// ----
|
||||
// using-custom-includes: @NotFound 6275
|
||||
@@ -0,0 +1,7 @@
|
||||
// SPDX-License-Identifier: UNLICENSED
|
||||
pragma solidity >=0.8.0;
|
||||
|
||||
library OtherLib
|
||||
{
|
||||
function f(uint n) public returns (uint) { return n + 1; }
|
||||
}
|
||||
Reference in New Issue
Block a user