mirror of
https://github.com/denoland/deno.git
synced 2025-02-01 20:25:12 -05:00
Remove namespace from src/msg.fbs
This commit is contained in:
parent
3574c7a5d3
commit
a4f1b367b9
10 changed files with 9 additions and 13 deletions
|
@ -1,4 +1,4 @@
|
|||
import { deno as fbs } from "gen/msg_generated";
|
||||
import * as fbs from "gen/msg_generated";
|
||||
|
||||
// @internal
|
||||
export class DenoError<T extends fbs.ErrorKind> extends Error {
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
// TODO Rename this file to //js/dispatch.ts
|
||||
import { libdeno } from "./libdeno";
|
||||
import { flatbuffers } from "flatbuffers";
|
||||
import { deno as fbs } from "gen/msg_generated";
|
||||
import * as fbs from "gen/msg_generated";
|
||||
import * as errors from "./errors";
|
||||
import * as util from "./util";
|
||||
|
||||
|
|
|
@ -9,7 +9,7 @@ import {
|
|||
} from "./util";
|
||||
import { flatbuffers } from "flatbuffers";
|
||||
import { sendAsync } from "./fbs_util";
|
||||
import { deno as fbs } from "gen/msg_generated";
|
||||
import * as fbs from "gen/msg_generated";
|
||||
import {
|
||||
Headers,
|
||||
Request,
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
// Copyright 2018 the Deno authors. All rights reserved. MIT license.
|
||||
import { flatbuffers } from "flatbuffers";
|
||||
import { deno as fbs } from "gen/msg_generated";
|
||||
import * as fbs from "gen/msg_generated";
|
||||
import { assert, log, setLogDebug } from "./util";
|
||||
import * as os from "./os";
|
||||
import { DenoCompiler } from "./compiler";
|
||||
|
|
2
js/os.ts
2
js/os.ts
|
@ -1,6 +1,6 @@
|
|||
// Copyright 2018 the Deno authors. All rights reserved. MIT license.
|
||||
import { ModuleInfo } from "./types";
|
||||
import { deno as fbs } from "gen/msg_generated";
|
||||
import * as fbs from "gen/msg_generated";
|
||||
import { assert } from "./util";
|
||||
import * as util from "./util";
|
||||
import { flatbuffers } from "flatbuffers";
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
// Copyright 2018 the Deno authors. All rights reserved. MIT license.
|
||||
import { assert } from "./util";
|
||||
import * as util from "./util";
|
||||
import { deno as fbs } from "gen/msg_generated";
|
||||
import * as fbs from "gen/msg_generated";
|
||||
import { flatbuffers } from "flatbuffers";
|
||||
import { send, sendAsync } from "./fbs_util";
|
||||
|
||||
|
|
|
@ -1,13 +1,11 @@
|
|||
// Copyright 2018 the Deno authors. All rights reserved. MIT license.
|
||||
use hyper;
|
||||
use msg_generated::deno as msg;
|
||||
pub use msg::ErrorKind;
|
||||
use std;
|
||||
use std::fmt;
|
||||
use std::io;
|
||||
use url;
|
||||
|
||||
pub use self::msg::ErrorKind;
|
||||
|
||||
pub type DenoResult<T> = std::result::Result<T, DenoError>;
|
||||
|
||||
#[derive(Debug)]
|
||||
|
|
|
@ -11,7 +11,7 @@ use hyper::rt::{Future, Stream};
|
|||
use hyper::Client;
|
||||
use libdeno;
|
||||
use libdeno::{deno_buf, DenoC};
|
||||
use msg_generated::deno as msg;
|
||||
use msg;
|
||||
use std;
|
||||
use std::fs;
|
||||
use std::path::Path;
|
||||
|
|
|
@ -2,7 +2,7 @@ extern crate flatbuffers;
|
|||
extern crate futures;
|
||||
extern crate hyper;
|
||||
extern crate libc;
|
||||
extern crate msg_rs as msg_generated;
|
||||
extern crate msg_rs as msg;
|
||||
extern crate rand;
|
||||
extern crate tempfile;
|
||||
extern crate tokio;
|
||||
|
|
|
@ -1,5 +1,3 @@
|
|||
namespace deno;
|
||||
|
||||
union Any {
|
||||
Start,
|
||||
StartRes,
|
||||
|
|
Loading…
Add table
Reference in a new issue