```ts // @filename: src/_producer.ts export function doit() {} ``` ```ts // @filename: src/_consumer.ts import { doit as doit2 } from "./_producer"; class Another {} class Consumer { constructor() { doit2(); } } ``` Doing move to a new file on Consumer generates the following 🐛 (note how `doit2` does not exist in `_producer.ts`): ```ts // @filename: src/Consumer.ts import { doit2 } from "./_producer"; class Consumer { constructor() { doit2(); } } ```