Closed bbrk24 closed 2 months ago
e.g.
x := comptime ({ foo() {} })
Compiles to:
const x = {"foo":foo() {}};
I have an idea on how to fix it; the problem is more general than it seems at first (e.g. x := comptime ({ foo() {} }.foo)). I'll get up a PR later.
x := comptime ({ foo() {} }.foo)
e.g.
Compiles to: