Commit f4320c4e authored by Camillo Bruni's avatar Camillo Bruni Committed by Commit Bot

[runtime] Add additional test for spread call error

Bug: v8:10378
Change-Id: Ida53679c819e0a1427f31a31526142348510ca78
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2166906Reviewed-by: 's avatarSathya Gunasekaran  <gsathya@chromium.org>
Commit-Queue: Camillo Bruni <cbruni@chromium.org>
Cr-Commit-Position: refs/heads/master@{#67386}
parent 86c7141c
// Copyright 2020 the V8 project authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
x = 1;
console.log(1, ...x);
*%(basename)s:5: TypeError: Found non-callable @@iterator
console.log(1, ...x);
^
TypeError: Found non-callable @@iterator
at *%(basename)s:5:9
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment