From d8ada4d3fcc5dfe7f76103399a1d765fbab2ee45 Mon Sep 17 00:00:00 2001 From: Ryan Dahl Date: Mon, 26 Aug 2019 10:58:44 -0400 Subject: 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. --- js/compiler.ts | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'js/compiler.ts') 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.) -- cgit v1.2.3