0
0
Fork 0
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:
Ryan Dahl 2018-09-09 19:21:22 -04:00
parent 3574c7a5d3
commit a4f1b367b9
10 changed files with 9 additions and 13 deletions

View file

@ -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 {

View file

@ -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";

View file

@ -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,

View file

@ -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";

View file

@ -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";

View file

@ -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";

View file

@ -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)]

View file

@ -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;

View file

@ -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;

View file

@ -1,5 +1,3 @@
namespace deno;
union Any {
Start,
StartRes,