lua-l archive
[
Date Prev
][
Date Next
][
Thread Prev
][
Thread Next
] [
Date Index
] [
Thread Index
]
Subject
:
`depreciated` attribute for Lua?
From
: Frityet <ambhogal01@
...
>
Date
: Mon, 11 Sep 2023 18:23:48 -0700
My friend had an idea, much like const, a `depreciated` attribute that warns when used
local
add
<depreciated>
=
function
(
a
,
b
)
return
a
+
b
end
add
(
1
,
2
)
--warning
Thoughts?
Follow-Ups
:
Re: `depreciated` attribute for Lua?
,
bil til
Re: `depreciated` attribute for Lua?
,
Lars Müller
Re: `depreciated` attribute for Lua?
,
Thijs Schreijer
Re: `depreciated` attribute for Lua?
,
Thadeu de Paula
Prev by Date:
Re: lpeg.C() drops named captures. Is there a workaround for that?
Next by Date:
Re: `depreciated` attribute for Lua?
Previous by thread:
Re: Proect format for second page of TOC
Next by thread:
Re: `depreciated` attribute for Lua?
Index(es):
Date
Thread