[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Assigning to a constant variable with function definition syntax doesn't error
- From: "Soni \"They/Them\" L." <fakedme@...>
- Date: Thu, 17 Jun 2021 21:17:44 -0300
On 2021-06-17 7:12 p.m., Petite Abeille wrote:
>
> > On Jun 17, 2021, at 23:57, Soni They/Them L. <fakedme@gmail.com> wrote:
> >
> > We guess there's no way to make safe self-referential functions in Lua?
>
> debug.getinfo( 1, 'f' ).func perhaps?
>
Gross, altho it does work :p
Still, that's not something you'd wanna use in public. Would be nice if
you could just const a local function, but eh, maybe in the future. ^^