Replaced IS_CONSTANT_ARRAY with IS_CONSTANT_AST to make it compile again