aboutsummaryrefslogtreecommitdiff
path: root/tests/function/builtin/testscript
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2018-07-14 18:30:28 +0200
committerKaren Arutyunov <karen@codesynthesis.com>2018-07-16 16:49:58 +0300
commit55e858010b9ba53c27475d9ce6f864a84d28fa81 (patch)
treeddbbcc909abc23310117afee2225f6197f475f18 /tests/function/builtin/testscript
parent3f2b42c3c01ecfee6a63653172d437aa0e915b68 (diff)
Resolve function overload via the argument reversal to untyped
Diffstat (limited to 'tests/function/builtin/testscript')
-rw-r--r--tests/function/builtin/testscript11
1 files changed, 1 insertions, 10 deletions
diff --git a/tests/function/builtin/testscript b/tests/function/builtin/testscript
index 6108455..d15eeb3 100644
--- a/tests/function/builtin/testscript
+++ b/tests/function/builtin/testscript
@@ -86,16 +86,7 @@
: path
:
- $* <'print $getenv([path] a)' 2>>~/EOE/ != 0
- <stdin>:1:8: error: unmatched call to getenv(path)
- /((
- info: candidate: getenv(<untyped>), qualified name builtin.getenv
- info: candidate: getenv(string), qualified name builtin.getenv
- /)|(
- info: candidate: getenv(string), qualified name builtin.getenv
- info: candidate: getenv(<untyped>), qualified name builtin.getenv
- /))
- EOE
+ $* <'print $getenv([path] a)' >'[null]'
: none
: