From e7041402890076aaf7095a3f8931ba0a00393b72 Mon Sep 17 00:00:00 2001 From: Domenic Denicola Date: Fri, 28 Apr 2017 16:16:21 -0400 Subject: [PATCH] Fix bad assert in HostResolveImportedModule For cyclic module graphs, this assert is overzealous; this adjusts it to assert only what we need. Closes #2596. --- source | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/source b/source index 1d16782037e..dbcc247fe79 100644 --- a/source +++ b/source @@ -88495,9 +88495,7 @@ import "https://example.com/foo/../module2.js"; data-x="concept-module-script-instantiation-error">instantiation error.

  • Assert: resolved module script's instantiation state is "instantiated" (and thus its module record is not null).

  • + data-x="concept-module-script-module-record">module record is not null.

  • Return resolved module script's module record.