You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
solc --version
solc, the solidity compiler commandline interface
Version: 0.4.24+commit.e67f0147.Darwin.appleclang
Operating system:
OSX 10.13.6
Steps to Reproduce
solc --abi --bin --overwrite n1.sol -o /Users/sam/work/car/contracts/storage/compiled
n1.sol:4:1: Error: Source "CMEnabled.sol" not found: File not found.
import "../CMEnabled.sol";
Please provide a minimal source code example to trigger the bug you have found.
Please also mention any command line flags that are necessary for triggering the bug.
Provide as much information as necessary to reproduce the bug.
I'm sorry, but importing from the parent path is not supported like that, because it would not be possible to generate a virtual directory structure to be used internally by the compiler. Please use remappings (and import from global virtual paths) or restructure your code layout so that this is not required.
Description
import sol file doesn't work with parent path set.
example:
but if I change the import path to ./ and add the file in the same path.
Environment
OSX 10.13.6
Steps to Reproduce
Please provide a minimal source code example to trigger the bug you have found.
Please also mention any command line flags that are necessary for triggering the bug.
Provide as much information as necessary to reproduce the bug.
The text was updated successfully, but these errors were encountered: