diff options
author | Bartek IwaĆczuk <biwanczuk@gmail.com> | 2021-04-28 18:28:46 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-04-28 18:28:46 +0200 |
commit | b28f9445aae85dbf86033300cfcb55e404529a23 (patch) | |
tree | 65b89f43a2af1984b3e1c49f281bd8aba8138089 /cli/tests | |
parent | 6a33d2073f1a99d0943a986418a376386fdc30b3 (diff) |
refactor(core): simplify module loading code (#10385)
General cleanup of module loading code, tried to reduce indentation in various methods
on "JsRuntime" to improve readability.
Added "JsRuntime::handle_scope" helper function, which returns a "v8::HandleScope".
This was done to reduce a code pattern that happens all over the "deno_core".
Additionally if event loop hangs during loading of dynamic modules a list of
currently pending dynamic imports is printed.
Diffstat (limited to 'cli/tests')
-rw-r--r-- | cli/tests/top_level_await_circular.out | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/cli/tests/top_level_await_circular.out b/cli/tests/top_level_await_circular.out index d47564441..3b453122e 100644 --- a/cli/tests/top_level_await_circular.out +++ b/cli/tests/top_level_await_circular.out @@ -5,3 +5,5 @@ timeout loop 3 timeout loop 4 timeout loop 5 error: Dynamically imported module evaluation is still pending but there are no pending ops. This situation is often caused by unresolved promise. +Pending dynamic modules: +- [WILDCARD]tests/tla3/b.js |