From cf5a39a36127e8df70ac34b9895771fb41d474a6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bartek=20Iwa=C5=84czuk?= Date: Tue, 5 May 2020 18:23:15 +0200 Subject: refactor(ts): remove op_cache (#5071) This PR removes op_cache and refactors how Deno interacts with TS compiler. Ultimate goal is to completely sandbox TS compiler worker; it should operate on simple request -> response basis. With this commit TS compiler no longer caches compiled sources as they are generated but rather collects all sources and sends them back to Rust when compilation is done. Additionally "Diagnostic" and its children got refactored to use "Deserialize" trait instead of manually implementing JSON deserialization. --- cli/tests/lib_ref.ts.out | 2 +- cli/tests/lib_runtime_api.ts.out | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'cli/tests') diff --git a/cli/tests/lib_ref.ts.out b/cli/tests/lib_ref.ts.out index 6ff3616b7..9f8c62d8a 100644 --- a/cli/tests/lib_ref.ts.out +++ b/cli/tests/lib_ref.ts.out @@ -1,2 +1,2 @@ -null +undefined [ "main.js.map", "main.js" ] diff --git a/cli/tests/lib_runtime_api.ts.out b/cli/tests/lib_runtime_api.ts.out index 6ff3616b7..9f8c62d8a 100644 --- a/cli/tests/lib_runtime_api.ts.out +++ b/cli/tests/lib_runtime_api.ts.out @@ -1,2 +1,2 @@ -null +undefined [ "main.js.map", "main.js" ] -- cgit v1.2.3