From a2a6e548bc3afcbf4c7401ebdfa8213dbe4e8dea Mon Sep 17 00:00:00 2001 From: "Arnold D. Robbins" Date: Wed, 8 Jan 2020 21:03:32 +0200 Subject: Fix problems passing uninitialized variables to typeof. --- builtin.c | 1 + 1 file changed, 1 insertion(+) (limited to 'builtin.c') diff --git a/builtin.c b/builtin.c index e09a48bd..f8ca0371 100644 --- a/builtin.c +++ b/builtin.c @@ -4159,6 +4159,7 @@ do_typeof(int nargs) } break; case Node_var_new: + case Node_array_ref: res = "untyped"; deref = false; break; -- cgit v1.2.3