2 * Copyright (c) 2018, Facebook, Inc.
5 * This source code is licensed under the MIT license found in the
6 * LICENSE file in the "hack" directory of this source tree.
15 inherit Nast_visitor.handler_base
17 method! at_expr env s
=
19 | Array_get
((p
, _
), None
) when not env
.array_append_allowed
->
20 Errors.reading_from_append p