Open jribbink opened 10 months ago
This hit me today when trying to debug whey imports using a mix of paths and "new import syntax" did not work.
https://discord.com/channels/613813861610684416/1204034793856180224
cc @gregsantos is this something we should try to prioritize?
Current Behavior
Due to the design of the LS & how
sema.Checker
locations are set at runtime, a contract imported using the new import syntax cannot import a contract using relative path imports (aka file imports).Expected Behavior
You should be able to use relative path imports & new import syntax together.
This is especially important if somebody copy + pastes core contracts into their project. These contracts may import each other and be using the path import syntax -> causes downstream error -> causes confusion.
Steps To Reproduce
A.cdc
B.cdc
C.cdc
Environment