Makes sure inline expanded expression are resolved from the correct module