buzz-language / buzz

👨‍🚀 buzz, A small/lightweight statically typed scripting language
https://buzz-lang.dev
MIT License
1.15k stars 31 forks source link

Tip for MIR_new_func_arr #238

Closed iacore closed 5 months ago

iacore commented 7 months ago

MIR_new_func_arr sets vars[i].name to the allocated name (which may be different from the chosen name)

see the diff

giann commented 7 months ago

Yes. Still weird though. I'll merge this once i get to updating things for latest zig build. I the middle of rewriting the ast and everything using it right now.

giann commented 5 months ago

@iacore turns out that fix does not work, I had to revert to the previous (ugly) usage

iacore commented 5 months ago

Interesting! Did MIR update?

giann commented 5 months ago

No it just did not work