diff --git a/dust-lang/src/abstract_tree/use.rs b/dust-lang/src/abstract_tree/use.rs index 426d3e5..0f70107 100644 --- a/dust-lang/src/abstract_tree/use.rs +++ b/dust-lang/src/abstract_tree/use.rs @@ -1,6 +1,5 @@ use std::{ fmt::{self, Display, Formatter}, - fs::read_to_string, path::Path, sync::{Arc, RwLock}, }; @@ -10,9 +9,7 @@ use serde::{Deserialize, Serialize}; use crate::{ context::Context, - error::{DustError, RuntimeError, ValidationError}, - lexer::lex, - parser, + error::{RuntimeError, ValidationError}, standard_library::{std_fs_compiled, std_io_compiled, std_json_compiled, std_thread_compiled}, Type, }; diff --git a/dust-lang/src/value.rs b/dust-lang/src/value.rs index 9828b57..ac3785b 100644 --- a/dust-lang/src/value.rs +++ b/dust-lang/src/value.rs @@ -16,7 +16,7 @@ use serde::{ use crate::{ abstract_tree::{ - AbstractNode, Block, BuiltInFunction, Evaluation, SourcePosition, Type, TypeConstructor, + AbstractNode, Block, BuiltInFunction, Evaluation, SourcePosition, Type, WithPosition, }, context::Context,