~technomancy/fennel

Discussion of the Fennel programming language for contributors and users

https://fennel-lang.org

Re: [BUG] Bad lua code generated when calling a method on a table literal

Details
Message ID
<87lfv9ksr8.fsf@hagelb.org>
DKIM signature
missing
Download raw message
Benaiah Mischenko <benaiah@mischenko.com> writes:

> The following fennel code generates bad Lua:
>
> (: {:foo (fn [self] (print self.bar)) :bar :baz} :foo)

Nice catch; thanks. Pushed a fix (which is also attached.)

-Phil