Revert "Move the option type to its own module"
This commit is contained in:
parent
a58016d43e
commit
2fcf81cc4b
11 changed files with 46 additions and 68 deletions
|
|
@ -5,9 +5,9 @@ import front.token;
|
|||
import middle.trans;
|
||||
import middle.resolve;
|
||||
|
||||
import std.option;
|
||||
import std.option.some;
|
||||
import std.option.none;
|
||||
import std.util.option;
|
||||
import std.util.some;
|
||||
import std.util.none;
|
||||
import std._str;
|
||||
import std._vec;
|
||||
|
||||
|
|
@ -39,8 +39,8 @@ fn usage(session.session sess, str argv0) {
|
|||
impure fn main(vec[str] args) {
|
||||
|
||||
auto sess = session.session();
|
||||
let option.t[str] input_file = none[str];
|
||||
let option.t[str] output_file = none[str];
|
||||
let option[str] input_file = none[str];
|
||||
let option[str] output_file = none[str];
|
||||
let bool do_warn = true;
|
||||
|
||||
auto i = 1u;
|
||||
|
|
|
|||
|
|
@ -1,4 +1,5 @@
|
|||
|
||||
import util.common.option;
|
||||
import std.map.hashmap;
|
||||
import std.util.option;
|
||||
import util.common.span;
|
||||
|
|
|
|||
|
|
@ -1,8 +1,8 @@
|
|||
import std._io;
|
||||
import std.option.some;
|
||||
import std.option.none;
|
||||
import std.map.hashmap;
|
||||
import std.util.option;
|
||||
import std.util.some;
|
||||
import std.util.none;
|
||||
import std.map.hashmap;
|
||||
|
||||
import driver.session;
|
||||
import util.common;
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
import std.map.hashmap;
|
||||
import std.option.some;
|
||||
import std.option.none;
|
||||
import std.util.option;
|
||||
import std.util.some;
|
||||
import std.util.none;
|
||||
|
||||
import util.common.new_str_hash;
|
||||
import util.common.spanned;
|
||||
|
|
|
|||
|
|
@ -8,9 +8,9 @@ import std.map.hashmap;
|
|||
import std.list.list;
|
||||
import std.list.nil;
|
||||
import std.list.cons;
|
||||
import std.option.some;
|
||||
import std.option.none;
|
||||
import std.util.option;
|
||||
import std.util.some;
|
||||
import std.util.none;
|
||||
import std._str;
|
||||
|
||||
tag scope {
|
||||
|
|
|
|||
|
|
@ -3,9 +3,9 @@ import std._vec;
|
|||
import std._str.rustrt.sbuf;
|
||||
import std._vec.rustrt.vbuf;
|
||||
import std.map.hashmap;
|
||||
import std.option.some;
|
||||
import std.option.none;
|
||||
import std.util.option;
|
||||
import std.util.some;
|
||||
import std.util.none;
|
||||
|
||||
import front.ast;
|
||||
import driver.session;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue