[Resolver] Fixed #127 SO when deducing aliases