diff options
author | Ryan Dahl <ry@tinyclouds.org> | 2019-05-20 12:06:57 -0400 |
---|---|---|
committer | Ryan Dahl <ry@tinyclouds.org> | 2019-05-29 07:53:39 -0400 |
commit | 856c44213b7faf507d4b481cfc170b2fd08f971a (patch) | |
tree | b2971883b0aeb43437a9be0076b4ffacde55d5b8 /tests/error_004_missing_module.ts.out | |
parent | 64d2b7bc90cf6fdba661d6d3fe243fe332c076ee (diff) |
TS compiler refactor
* Compiler no longer has its own Tokio runtime. Compiler handles one
message and then exits.
* Uses the simpler ts.CompilerHost interface instead of
ts.LanguageServiceHost.
* avoids recompiling the same module by introducing a hacky but simple
`hashset<string>` that stores the module names that have been already
compiled.
* Removes the CompilerConfig op.
* Removes a lot of the mocking stuff in compiler.ts like `this._ts`. It
is not useful as we don't even have tests.
* Turns off checkJs because it causes fmt_test to die with OOM.
Diffstat (limited to 'tests/error_004_missing_module.ts.out')
-rw-r--r-- | tests/error_004_missing_module.ts.out | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/error_004_missing_module.ts.out b/tests/error_004_missing_module.ts.out index f6fbf5d9b..b3a9aa65e 100644 --- a/tests/error_004_missing_module.ts.out +++ b/tests/error_004_missing_module.ts.out @@ -3,9 +3,9 @@ at maybeError (js/errors.ts:[WILDCARD]) at maybeThrowError (js/errors.ts:[WILDCARD]) at sendSync (js/dispatch.ts:[WILDCARD]) - at fetchModuleMetaData (js/os.ts:[WILDCARD]) + at fetchModuleMetaData (js/compiler.ts:[WILDCARD]) at _resolveModule (js/compiler.ts:[WILDCARD]) + at js/compiler.ts:[WILDCARD] at resolveModuleNames (js/compiler.ts:[WILDCARD]) - at compilerHost.resolveModuleNames ([WILDCARD]typescript.js:[WILDCARD]) at resolveModuleNamesWorker ([WILDCARD]typescript.js:[WILDCARD]) at resolveModuleNamesReusingOldState ([WILDCARD]typescript.js:[WILDCARD]) |