1 // |reftest| error:ReferenceError module
2 // Copyright (C) 2016 the V8 project authors. All rights reserved.
3 // This code is governed by the BSD license found in the LICENSE file.
6 Abrupt completions resulting from value retrieval are forwarded to the
8 esid: sec-moduleevaluation
11 16. Let result be the result of evaluating module.[[ECMAScriptCode]].
14 15.2.3.11 Runtime Semantics: Evaluation
16 ExportDeclaration : export default AssignmentExpression;
19 1. Let rhs be the result of evaluating AssignmentExpression.
20 2. Let value be ? GetValue(rhs).
25 2. If Type(V) is not Reference, return V.
26 3. Let base be GetBase(V).
27 4. If IsUnresolvableReference(V) is true, throw a ReferenceError exception.
34 export default unresolvable;