bug(forge
): file import is not case sensitive when loading from cache
#9958
Labels
forge
): file import is not case sensitive when loading from cache
#9958
Component
Forge
Have you ensured that all of these are up to date?
What version of Foundry are you on?
1.0.0-nightly
What version of Foundryup are you on?
No output in my terminal
What command(s) is the bug in?
forge test and forge coverage
Operating System
macOS (Apple Silicon)
Describe the bug
in src file i have a GenesisNFTs.sol file , forge didn't throws error when import it with GenesisNfts like below
import {GenesisNFTs} from "../src/GenesisNfts.sol";
------------------------------------------ i have faced this issue because of the above --------------------------
There was no Two .sol files in the src , but forge was displaying two .sol test file as you can see in the image
And also when i was doing
forge inspect src/GenesisNFTs.sol:GenesisNFTs storage-layout
i was getting this error , as if you can see in the above image , there was only one GenesisNFTs.sol file and there was only one contract init
Error: Multiple contracts found with the name
GenesisNFTs
The text was updated successfully, but these errors were encountered: