False parsing of ArrayPattern
anilanar opened this issue · 4 comments
anilanar commented
The above code breaks for the following case:
const [, setState] = useFoo();
because hook.id.elements[0]
is null
with the above pattern match. hook.name
will crash.
rtviner commented
Hi @anilanar,
Thanks for bringing this to our attention, we are looking into it.
Could you possibly link to the repo where you're having this issue?
Thanks!
anilanar commented
@rtviner I cannot. If const [, setState] = useFoo();
is not reproducable, feel free to close.