diff options
author | Ryan Dahl <ry@tinyclouds.org> | 2019-08-26 10:58:44 -0400 |
---|---|---|
committer | Ryan Dahl <ry@tinyclouds.org> | 2019-08-26 14:56:42 -0400 |
commit | d8ada4d3fcc5dfe7f76103399a1d765fbab2ee45 (patch) | |
tree | 2209cb60cd537d1da5c1687ab2b7996655654c06 /js/compiler.ts | |
parent | 7ff67017f2153eeed393da670777ff85df2801ca (diff) |
Port readSync/writeSync ops to minimal
This removes dispatch_flatbuffers as it is now unused. There are still a
few places where msg_generated is used: ErrorKind and MediaType. These
will be dealt with later.
Diffstat (limited to 'js/compiler.ts')
-rw-r--r-- | js/compiler.ts | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/js/compiler.ts b/js/compiler.ts index 5399d59ad..60fe49701 100644 --- a/js/compiler.ts +++ b/js/compiler.ts @@ -1,6 +1,5 @@ // Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. import * as ts from "typescript"; - import { assetSourceCode } from "./assets"; import { bold, cyan, yellow } from "./colors"; import { Console } from "./console"; @@ -9,7 +8,6 @@ import { Diagnostic, fromTypeScriptDiagnostic } from "./diagnostics"; import { cwd } from "./dir"; import * as dispatch from "./dispatch"; import { sendSync } from "./dispatch_json"; -import { msg } from "./dispatch_flatbuffers"; import * as os from "./os"; import { TextEncoder } from "./text_encoding"; import { getMappedModuleName, parseTypeDirectives } from "./type_directives"; @@ -19,6 +17,9 @@ import { window } from "./window"; import { postMessage, workerClose, workerMain } from "./workers"; import { writeFileSync } from "./write_file"; +// TODO(ry) msg_generated import will be removed soon. +import * as msg from "gen/cli/msg_generated"; + // Startup boilerplate. This is necessary because the compiler has its own // snapshot. (It would be great if we could remove these things or centralize // them somewhere else.) |