lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


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?