Repro:
fn x() {
let print = @js("console").log;
print("Hello, World!");
}
x();
Result:
// Language Compiler v0.1.3. Alpha quality software.
let x = () => {
console.log("Hello, World!");
return undefined;
};
x();
Should be:
// Language Compiler v0.1.3. Alpha quality software.
console.log("Hello, World!");
Milestone: later.
I think there's a few times where you want to inline a function: