From d72301fa07f202da6b66caf2a839ee2869b4e99a Mon Sep 17 00:00:00 2001 From: Sam Vervaeck Date: Mon, 25 May 2020 21:22:40 +0200 Subject: [PATCH] Fix some import errors in standard library --- stdlib/io.bolt | 5 +++++ stdlib/lib.bolt | 1 - stdlib/numbers.bolt | 4 ++++ 3 files changed, 9 insertions(+), 1 deletion(-) diff --git a/stdlib/io.bolt b/stdlib/io.bolt index b07193133..f51bafece 100644 --- a/stdlib/io.bolt +++ b/stdlib/io.bolt @@ -1,4 +1,9 @@ +import "./numbers" +import "./either" +import "./vec" +import "./string" + pub mod IO { pub type Result = Either; diff --git a/stdlib/lib.bolt b/stdlib/lib.bolt index 5765dd392..ad89f8c7a 100644 --- a/stdlib/lib.bolt +++ b/stdlib/lib.bolt @@ -4,6 +4,5 @@ pub import "./either" pub import "./string" pub import "./math" pub import "./vec" -pub import "./vec" pub import "./lang/bolt" diff --git a/stdlib/numbers.bolt b/stdlib/numbers.bolt index d0643a84f..6fedb44ae 100644 --- a/stdlib/numbers.bolt +++ b/stdlib/numbers.bolt @@ -1,7 +1,11 @@ +pub struct i8; +pub struct i16; pub struct i32; pub struct i64; pub struct isize; +pub struct u8; +pub struct u16; pub struct u32; pub struct u64; pub struct usize;