core
                                
                                
                                
                                    core copied to clipboard
                            
                            
                            
                        [Bug] remapped types with `sol!` macro with file reference broken
Component
sol! macro
What version of Alloy are you on?
regression was from 0.6.1 (commit a315b0d22f37e8c15af84fed0bd553ea10fd1fbd)
Operating System
None
Describe the bug
Bisecting versions and commits, the regression happened on 0.6.0..0.6.1 on this commit https://github.com/alloy-rs/core/commit/a315b0d22f37e8c15af84fed0bd553ea10fd1fbd
The contract is pretty simple where sol! is pointing at a sol file, and the type not found is referencing something remapped in the remappings.txt.
Error looks like:
error[E0412]: cannot find type `IContract` in this scope
 --> crates/service/src/contract.rs:3:1
  |
3 | sol!("../../contracts/Renamed.sol");
  | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope