b7913f33a3
We must not throw when seeing a cycle while trying to resolve a name through star exports. (It may be surprising that we do have to throw when seeing an ambiguity, but this is what the spec says.) R=adamk@chromium.org BUG=v8:1569 Review-Url: https://codereview.chromium.org/2376563002 Cr-Commit-Position: refs/heads/master@{#39787}
12 lines
298 B
JavaScript
12 lines
298 B
JavaScript
// Copyright 2016 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.
|
|
//
|
|
// MODULE
|
|
|
|
const bar = 42;
|
|
export {bar as foo};
|
|
|
|
import {foo} from "modules-skip-star-exports-cycle.js";
|
|
assertEquals(42, foo);
|