When calling hasArrayFiller() on a APValue that's not an array, the two functions called inside hasArrayFiller() would both run into their isArray() assertions.
This triggered for me with the included test case in ExprConstant.cpp:
if (!Result.hasArrayFiller()) return Success;
adding a !Result.isArray() || there would also work of course but I think the version in this patch is safer.
Can remove spurious newline