1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-22 15:06:54 -05:00
denoland-deno/cli/tsc
Bartek Iwańczuk 46c0cab763
refactor(core): simplify Deno.core initialisation, remove stale TODO (#8847)
This commit rewrites initialisation of the "shared queue" and
in effect prevents from double execution of "core/core.js" and
"core/error.js".

Previously both of these files were executed every time a "JsRuntime"
was created. That lead to a situation where one copy of each script
was included in the snapshot and then another copy would be
executed after loading the snapshot.

Effectively "JsRuntime::shared_init" was removed; instead execution
of those scripts and actual initialisation of shared queue
was split into two helper functions: "JsRuntime::js_init" and
"JsRuntime::share_queue_init".

Additionally stale TODO comments were removed.
2021-01-05 22:10:50 +01:00
..
00_typescript.js upgrade TypeScript to 4.1.3 (#8785) 2020-12-16 11:46:32 -05:00
99_main_compiler.js refactor(core): simplify Deno.core initialisation, remove stale TODO (#8847) 2021-01-05 22:10:50 +01:00
compiler.d.ts fix(lsp): handle ts debug errors better (#8914) 2020-12-30 12:46:58 +11:00
README.md refactor: Rename runtime/rt to runtime/js (#8806) 2020-12-17 17:37:57 +01:00

tsc

This directory contains the typescript compiler and a small compiler host for the runtime snapshot.