Importing names that have "gone through a macro" causes renaming in the import clause:
// mod.js
syntax m = ctx => {
let first = ctx.next().value;
let second = ctx.next().value;
return #`class ${first} ${second}`;
}
export m F { }
// main.js
import { F } from './mod.js';
let c = new F();
Importing names that have "gone through a macro" causes renaming in the import clause:
compiling
main.js
with sweet gives: