Reserve some builtin names

`argparse`, `read`, `set`, `status`, `test` and `[` now can't be used
as function names anymore.

This is because (except for `test` and `[`) there is no way to wrap these properly, so any
function called that will be broken anyway.

For `test` (and `[`), there is nothing that can be added and there
have been confused users who created a function that then broke
everything.

Fixes #3000.
This commit is contained in:
Fabian Homborg
2018-02-25 19:25:29 +01:00
parent 5648322993
commit 69f68d31df
5 changed files with 14 additions and 1 deletions

View File

@@ -70,3 +70,6 @@ Function name4 not found as expected
< function name3 --argument arg1 arg2
---
> function name3a --argument arg1 arg2
####################
# Checking reserved names