-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Nested Contracts cannot import from source-dir
only from their directory
#119
Comments
Interesting... attempt 1 should've worked. Just out of curiousity, can you try Attempt 2's failure makes perfect sense. |
Also |
@iostat updated with version it's here's output using
|
@iostat It appears to ignore all |
Do you have a It's also possible that the logic in chanterelle/src/Chanterelle/Internal/Compile.purs Lines 121 to 139 in f315d39
chanterelle -v Debug compile ?
|
@iostat Yes it's specified at
The line:
Says |
What stands out to me most is that |
Test as the modRoot makes sense, as Test/Test2.sol is the module requesting an import |
Tested with latest version and no longer an issue |
My bad I didn't fully recreate the test. This is still a problem. |
Version
Example project structure:
Consider Test1.sol:
Both of the following contracts fail with the same error:
Attempt 1
Error for first try:
Attempt 2
Error for attempt 2:
The text was updated successfully, but these errors were encountered: