fix `@export` for arrays not respecting the symbol name

Previously, the symbol name parameter of `@export` would be ignored for
variables, and the variable name would be used for the symbol name.
Now it works as expected.

See #2679
f8f054b354Andrew Kelley committed on 6/14/2019, 9:23:24 PMparent42ea2d0
6 files changedLine totals unavailable