Commit 3016c95
committed
refactor: move DEPRECATED, export et.al. from
* specs/base_spec.yaml (export, DEPRECATED): Move from here...
* specs/debug_spec.yaml (export, DEPRECATED): ...to here.
* specs/base_spec.yaml: Remove unused file.
* specs/specs.mk (specl_SPECS): Remove specs/base_spec.yaml.
* lib/std/base.lua (DEPRECATED, DEPRECATIONMSG, argcheck)
(argerror, arglen, argscheck, export, getcompat, setcompat)
(toomanyarg_fmt): Move from here...
* lib/std/debug.lua (DEPRECATED, DEPRECATIONMSG, argcheck)
(argerror, arglen, argscheck, export, getcompat, setcompat)
(toomanyarg_fmt): ...to here. Adjust all callers.
* lib/std/base.lua (argpairs, checktype, concat, formaterror)
(getfenv, getinfo, match, merge, normalize, permutations)
(setfenv, whatpath): Move from here...
* lib/std/debug.lua (argpairs, checktype, concat, formaterror)
(getfenv, getinfo, match, merge, normalize, permutations)
(setfenv, whatpath): ...to here, but elide their definitions
if _DEBUG.argcheck is false, or equivalent.
* NEWS: Update.
Signed-off-by: Gary V. Vaughan <gary@gnu.org>base to debug.1 parent 5bbdf50 commit 3016c95
File tree
16 files changed
+893
-928
lines changed- lib
- std
- specs
16 files changed
+893
-928
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
16 | | - | |
17 | | - | |
18 | | - | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
19 | 23 | | |
20 | 24 | | |
21 | 25 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
244 | 244 | | |
245 | 245 | | |
246 | 246 | | |
247 | | - | |
| 247 | + | |
248 | 248 | | |
249 | 249 | | |
250 | 250 | | |
| |||
0 commit comments